summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/ConstantFolding.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/ConstantFolding.h')
-rw-r--r--llvm/lib/VMCore/ConstantFolding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/ConstantFolding.h b/llvm/lib/VMCore/ConstantFolding.h
index ee3c64cc598..a9e3e5809aa 100644
--- a/llvm/lib/VMCore/ConstantFolding.h
+++ b/llvm/lib/VMCore/ConstantFolding.h
@@ -45,8 +45,8 @@ namespace llvm {
const Constant *Mask);
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
const Constant *V2);
- Constant *ConstantFoldCompare(unsigned opcode, Constant *C1, Constant *C2,
- unsigned short predicate);
+ Constant *ConstantFoldCompareInstruction(unsigned short predicate,
+ Constant *C1, Constant *C2);
Constant *ConstantFoldGetElementPtr(const Constant *C,
const std::vector<Value*> &IdxList);
} // End llvm namespace
OpenPOWER on IntegriCloud