summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/ConstantFolding.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-09 23:06:58 +0000
committerChris Lattner <sabre@nondot.org>2009-11-09 23:06:58 +0000
commit8f73deaa8732a556046bf4ac6207be55972e3b74 (patch)
tree7f356907bd336592d93b84daccec136f758799e2 /include/llvm/Analysis/ConstantFolding.h
parent38424c9b5d464d262aa05adfc899285f86b43275 (diff)
downloadllvm-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/Analysis/ConstantFolding.h')
-rw-r--r--include/llvm/Analysis/ConstantFolding.h2
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