Fix typo.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 14 Jun 2007 21:26:08 +0000 (21:26 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 14 Jun 2007 21:26:08 +0000 (21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37577 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/IfConversion.cpp

index 40a7143423ee294fc85312fa4ee12016b311d1bf..87340d37005d0bd4daaa709992323f8fb61ce740 100644 (file)
@@ -383,7 +383,7 @@ void IfConverter::ScanInstructions(BBInfo &BBI) {
     return;
 
   // First analyze the end of BB branches.
-  BBI.TrueBB = BBI.FalseBB;
+  BBI.TrueBB = BBI.FalseBB = NULL;
   BBI.BrCond.clear();
   BBI.IsBrAnalyzable =
     !TII->AnalyzeBranch(*BBI.BB, BBI.TrueBB, BBI.FalseBB, BBI.BrCond);