[llvm-commits] CVS: llvm/include/llvm/ConstantHandling.h

Chris Lattner lattner at cs.uiuc.edu
Mon Jan 12 12:26:06 PST 2004


Changes in directory llvm/include/llvm:

ConstantHandling.h updated: 1.35 -> 1.36

---
Log message:

Move prototype of llvm::ConstantFoldInstruction


---
Diffs of the changes:  (+0 -5)

Index: llvm/include/llvm/ConstantHandling.h
diff -u llvm/include/llvm/ConstantHandling.h:1.35 llvm/include/llvm/ConstantHandling.h:1.36
--- llvm/include/llvm/ConstantHandling.h:1.35	Mon Nov 17 14:19:26 2003
+++ llvm/include/llvm/ConstantHandling.h	Mon Jan 12 12:25:44 2004
@@ -223,11 +223,6 @@
 //  Implement higher level instruction folding type instructions
 //===----------------------------------------------------------------------===//
 
-// ConstantFoldInstruction - Attempt to constant fold the specified instruction.
-// If successful, the constant result is returned, if not, null is returned.
-//
-Constant *ConstantFoldInstruction(Instruction *I);
-
 // Constant fold various types of instruction...
 Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
 Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,





More information about the llvm-commits mailing list