Unbreak several InstCombine regression checks introduced by a hack to
authorReid Spencer <rspencer@reidspencer.com>
Mon, 13 Jun 2005 06:41:26 +0000 (06:41 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 13 Jun 2005 06:41:26 +0000 (06:41 +0000)
fix the bzip2 test. A better hack is needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22209 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp

index 53ee6ca01fbe8cccb3e71516e5cdbd604a9c3039..218910feb20aabce8f526cca0aa7c44209b73561 100644 (file)
@@ -3088,8 +3088,6 @@ Instruction *InstCombiner::visitSetCondInstWithCastAndCast(SetCondInst &SCI) {
     return 0;
   }
 
-  return 0; //The rest of this function is broken.  See bug 571
-
   // Okay, we have the two reduced sized operands.  If we are doing a <,>
   // comparison, make sure we perform the compare with the same signedness as
   // the DestTy.  We don't have to do this if the comparison is !=/== or if the