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:
5f70218
)
Remove a bogus check. Even terminators in a ifcvt need to be predicated. Unconditiona...
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 1 Jun 2007 00:55:26 +0000
(
00:55
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 1 Jun 2007 00:55:26 +0000
(
00:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37380
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 80b86b84585d41e3ede71d17d08efea8e8fe652f..0b2e42f1ff8f3d3da6b3e4000e4ecb09c0548a14 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
lib/CodeGen/IfConversion.cpp
@@
-283,8
+283,6
@@
void IfConverter::FeasibilityAnalysis(BBInfo &BBI,
for (MachineBasicBlock::iterator I = BBI.BB->begin(), E = BBI.BB->end();
I != E; ++I) {
// TODO: check if instruction clobbers predicate.
- if (TII->isTerminatorInstr(I->getOpcode()))
- break;
if (!I->isPredicable())
return;
}
@@
-654,7
+652,7
@@
void IfConverter::PredicateBlock(BBInfo &BBI,
if (TII->isPredicated(MI))
continue;
if (!TII->PredicateInstruction(MI, Cond)) {
- cerr << "Unable to predicat
ion
" << *I << "!\n";
+ cerr << "Unable to predicat
e
" << *I << "!\n";
abort();
}
}