[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp

Reid Spencer reid at x10sys.com
Mon Dec 18 00:53:16 PST 2006



Changes in directory llvm/lib/VMCore:

Instructions.cpp updated: 1.55 -> 1.56
---
Log message:

Remove the createInferredCast methods now that their last uses have been
removed. All casting is now explicit and not inferred by VMCore.


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

 Instructions.cpp |   14 --------------
 1 files changed, 14 deletions(-)


Index: llvm/lib/VMCore/Instructions.cpp
diff -u llvm/lib/VMCore/Instructions.cpp:1.55 llvm/lib/VMCore/Instructions.cpp:1.56
--- llvm/lib/VMCore/Instructions.cpp:1.55	Mon Dec 11 18:49:44 2006
+++ llvm/lib/VMCore/Instructions.cpp	Mon Dec 18 02:52:59 2006
@@ -1782,20 +1782,6 @@
   }
 }
 
-CastInst *CastInst::createInferredCast(
-  Value *S, const Type *Ty, const std::string &Name, Instruction *InsertBefore)
-{
-  return createInferredCast(S, S->getType()->isSigned(), Ty, Ty->isSigned(),
-      Name, InsertBefore);
-}
-
-CastInst *CastInst::createInferredCast(
-  Value *S, const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd) 
-{
-  return createInferredCast(S, S->getType()->isSigned(), Ty, Ty->isSigned(),
-      Name, InsertAtEnd);
-}
-
 TruncInst::TruncInst(
   Value *S, const Type *Ty, const std::string &Name, Instruction *InsertBefore
 ) : CastInst(Ty, Trunc, S, Name, InsertBefore) {






More information about the llvm-commits mailing list