For PR950:
[oota-llvm.git] / lib / VMCore / ConstantFolding.h
index ee3c64cc59877b458c1f951433a050613796f17b..a9e3e5809aada020102c5f7866e31bb65bf823be 100644 (file)
@@ -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