Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.662 -> 1.663
---
Log message:

Remove a redundant clause in an if statement. 
Patch by Sheng Zhou.


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

 InstructionCombining.cpp |    1 -
 1 files changed, 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.662 
llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.663
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.662   Sun Mar 18 
17:51:34 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Mon Mar 19 15:47:50 2007
@@ -8158,7 +8158,6 @@
   // Check to see if we are changing the return type...
   if (OldRetTy != FT->getReturnType()) {
     if (Callee->isDeclaration() && !Caller->use_empty() && 
-        OldRetTy != FT->getReturnType() &&
         // Conversion is ok if changing from pointer to int of same size.
         !(isa<PointerType>(FT->getReturnType()) &&
           TD->getIntPtrType() == OldRetTy))



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to