projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1d2b9
)
Devang points out that we need an assertion here.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 May 2007 05:11:10 +0000
(
05:11
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 May 2007 05:11:10 +0000
(
05:11
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37097
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/IfConversion.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/IfConversion.cpp
b/lib/CodeGen/IfConversion.cpp
index 57f6a8df5e2cba06778367357ad9488ff3014795..06be01386ab504a1852516e61f5149c951e9eba1 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
lib/CodeGen/IfConversion.cpp
@@
-141,6
+141,8
@@
void IfConverter::AnalyzeBlock(MachineBasicBlock *BB) {
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)