summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-12 18:25:44 +0000
committerChris Lattner <sabre@nondot.org>2004-01-12 18:25:44 +0000
commitaecd3e8a10e5bd5501c886dd584addd0dedfa58a (patch)
tree01048cccc2f44d44d211d68776de8feca532a0ea
parentfc6c859a0c886b9a7b1aaf2f1e781f2c51feeb16 (diff)
downloadbcm5719-llvm-aecd3e8a10e5bd5501c886dd584addd0dedfa58a.tar.gz
bcm5719-llvm-aecd3e8a10e5bd5501c886dd584addd0dedfa58a.zip
Move prototype of llvm::ConstantFoldInstruction
llvm-svn: 10786
-rw-r--r--llvm/include/llvm/ConstantHandling.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/include/llvm/ConstantHandling.h b/llvm/include/llvm/ConstantHandling.h
index 27eed8a7bec..3b886994732 100644
--- a/llvm/include/llvm/ConstantHandling.h
+++ b/llvm/include/llvm/ConstantHandling.h
@@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1,
// 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,
OpenPOWER on IntegriCloud