diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-09 23:06:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-09 23:06:58 +0000 |
commit | 8f73deaa8732a556046bf4ac6207be55972e3b74 (patch) | |
tree | 7f356907bd336592d93b84daccec136f758799e2 /include/llvm | |
parent | 38424c9b5d464d262aa05adfc899285f86b43275 (diff) | |
download | llvm-8f73deaa8732a556046bf4ac6207be55972e3b74.tar.gz llvm-8f73deaa8732a556046bf4ac6207be55972e3b74.tar.bz2 llvm-8f73deaa8732a556046bf4ac6207be55972e3b74.tar.xz |
fix ConstantFoldCompareInstOperands to take the LHS/RHS as
individual operands instead of taking a temporary array
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Analysis/ConstantFolding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ConstantFolding.h b/include/llvm/Analysis/ConstantFolding.h index 28402f2cc2..06951c7e45 100644 --- a/include/llvm/Analysis/ConstantFolding.h +++ b/include/llvm/Analysis/ConstantFolding.h @@ -55,7 +55,7 @@ Constant *ConstantFoldInstOperands(unsigned Opcode, const Type *DestTy, /// returns a constant expression of the specified operands. /// Constant *ConstantFoldCompareInstOperands(unsigned Predicate, - Constant *const *Ops, unsigned NumOps, + Constant *LHS, Constant *RHS, const TargetData *TD = 0); /// ConstantFoldLoadFromConstPtr - Return the value that a load from C would |