[llvm-commits] [llvm] r93222 - /llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Chris Lattner sabre at nondot.org
Mon Jan 11 18:07:51 PST 2010


Author: lattner
Date: Mon Jan 11 20:07:50 2010
New Revision: 93222

URL: http://llvm.org/viewvc/llvm-project?rev=93222&view=rev
Log:
tidy up

Modified:
    llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=93222&r1=93221&r2=93222&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Mon Jan 11 20:07:50 2010
@@ -1175,11 +1175,7 @@
   }
   
   // Try to duplicate BB into PredBB.
-  if (DuplicateCondBranchOnPHIIntoPred(BB, BlocksToFoldInto)) {
-//    errs() << "CLONE XOR COND: " << *BB << "Into PRED: " << *BlocksToFoldInto[0];
-    return true;
-  }
-  return false;
+  return DuplicateCondBranchOnPHIIntoPred(BB, BlocksToFoldInto);
 }
 
 





More information about the llvm-commits mailing list