Changes in directory llvm/lib/CodeGen:
IfConversion.cpp updated: 1.12 -> 1.13 --- Log message: Silly boog. --- Diffs of the changes: (+9 -9) IfConversion.cpp | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) Index: llvm/lib/CodeGen/IfConversion.cpp diff -u llvm/lib/CodeGen/IfConversion.cpp:1.12 llvm/lib/CodeGen/IfConversion.cpp:1.13 --- llvm/lib/CodeGen/IfConversion.cpp:1.12 Wed May 23 02:23:16 2007 +++ llvm/lib/CodeGen/IfConversion.cpp Thu May 24 19:59:01 2007 @@ -173,17 +173,17 @@ return; // Already analyzed. BBI.BB = BB; BBI.NonPredSize = std::distance(BB->begin(), BB->end()); - - // Look for 'root' of a simple (non-nested) triangle or diamond. - BBI.Kind = ICNotClassfied; - bool CanAnalyze = !TII->AnalyzeBranch(*BB, BBI.TrueBB, BBI.FalseBB, - BBI.BrCond); - // Does it end with a return, indirect jump, or jumptable branch? - BBI.hasEarlyExit = TII->BlockHasNoFallThrough(*BB) && !BBI.TrueBB; - if (!CanAnalyze || !BBI.TrueBB || BBI.BrCond.size() == 0) - return; } + // Look for 'root' of a simple (non-nested) triangle or diamond. + BBI.Kind = ICNotClassfied; + bool CanAnalyze = !TII->AnalyzeBranch(*BB, BBI.TrueBB, BBI.FalseBB, + BBI.BrCond); + // Does it end with a return, indirect jump, or jumptable branch? + BBI.hasEarlyExit = TII->BlockHasNoFallThrough(*BB) && !BBI.TrueBB; + if (!CanAnalyze || !BBI.TrueBB || BBI.BrCond.size() == 0) + return; + // Not a candidate if 'true' block is going to be if-converted. StructuralAnalysis(BBI.TrueBB); BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()]; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits