diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-03 00:47:48 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-03 00:47:48 +0000 |
commit | 38496ebf6f1efb9d29960d40cb9ee9877472cfb5 (patch) | |
tree | a33799f684635e700e4be0be61ebb009e94b75a5 /include/llvm | |
parent | defd8a23f9e528ba43711ecfe74c3ada5b487e07 (diff) | |
download | external_llvm-38496ebf6f1efb9d29960d40cb9ee9877472cfb5.zip external_llvm-38496ebf6f1efb9d29960d40cb9ee9877472cfb5.tar.gz external_llvm-38496ebf6f1efb9d29960d40cb9ee9877472cfb5.tar.bz2 |
Propagation in TargetLowering. Includes passing a DL
into SimplifySetCC which gets called elsewhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 2 | ||||
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index d603912..5f226e8 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -904,7 +904,7 @@ public: /// FoldSetCC - Constant fold a setcc to true or false. SDValue FoldSetCC(MVT VT, SDValue N1, - SDValue N2, ISD::CondCode Cond); + SDValue N2, ISD::CondCode Cond, DebugLoc dl); /// SignBitIsZero - Return true if the sign bit of Op is known to be zero. We /// use this predicate to simplify operations downstream. diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 5005df3..6639db1 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -789,7 +789,7 @@ public: /// and cc. If it is unable to simplify it, return a null SDValue. SDValue SimplifySetCC(MVT VT, SDValue N0, SDValue N1, ISD::CondCode Cond, bool foldBooleans, - DAGCombinerInfo &DCI) const; + DAGCombinerInfo &DCI, DebugLoc dl) const; /// isGAPlusOffset - Returns true (and the GlobalValue and the offset) if the /// node is a GlobalAddress + offset. |