[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Tue May 22 18:17:35 PDT 2007
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.767 -> 1.768
---
Log message:
fix a miscompilation when passing a float through varargs
---
Diffs of the changes: (+1 -2)
InstructionCombining.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.767 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.768
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.767 Sat May 19 01:51:32 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue May 22 20:17:04 2007
@@ -389,8 +389,7 @@
if (const IntegerType* ITy = dyn_cast<IntegerType>(Ty)) {
if (ITy->getBitWidth() < 32)
return Type::Int32Ty;
- } else if (Ty == Type::FloatTy)
- return Type::DoubleTy;
+ }
return Ty;
}
More information about the llvm-commits
mailing list