[llvm-commits] CVS: llvm/lib/CodeGen/IfConversion.cpp
Evan Cheng
evan.cheng at apple.com
Tue May 15 22:11:29 PDT 2007
Changes in directory llvm/lib/CodeGen:
IfConversion.cpp updated: 1.1 -> 1.2
---
Log message:
Devang points out that we need an assertion here.
---
Diffs of the changes: (+2 -0)
IfConversion.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/CodeGen/IfConversion.cpp
diff -u llvm/lib/CodeGen/IfConversion.cpp:1.1 llvm/lib/CodeGen/IfConversion.cpp:1.2
--- llvm/lib/CodeGen/IfConversion.cpp:1.1 Tue May 15 21:00:57 2007
+++ llvm/lib/CodeGen/IfConversion.cpp Wed May 16 00:11:10 2007
@@ -141,6 +141,8 @@
if (!BBI.FBB)
BBI.FBB = findFalseBlock(BB, BBI.TBB);
+ assert(BBI.FBB && "Expected to find the fallthrough block!");
+
AnalyzeBlock(BBI.FBB);
BBInfo &FBBI = BBAnalysis[BBI.FBB->getNumber()];
if (FBBI.Kind != ICNotClassfied)
More information about the llvm-commits
mailing list