[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

Misha Brukman brukman at cs.uiuc.edu
Tue May 20 13:46:04 PDT 2003


Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.81 -> 1.82

---
Log message:

s/convertable/convertible/g


---
Diffs of the changes:

Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.81 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.82
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.81	Wed Apr 30 17:34:06 2003
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Tue May 20 13:45:35 2003
@@ -811,7 +811,7 @@
   // It is legal to eliminate the instruction if casting A->B->A if the sizes
   // are identical and the bits don't get reinterpreted (for example 
   // int->float->int would not be allowed)
-  if (SrcTy == DstTy && SrcTy->isLosslesslyConvertableTo(MidTy))
+  if (SrcTy == DstTy && SrcTy->isLosslesslyConvertibleTo(MidTy))
     return true;
 
   // Allow free casting and conversion of sizes as long as the sign doesn't





More information about the llvm-commits mailing list