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:
8fff126
)
Fix -fast-isel-abort to check the right instruction.
author
Dan Gohman
<gohman@apple.com>
Wed, 7 Jul 2010 23:47:25 +0000
(23:47 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 7 Jul 2010 23:47:25 +0000
(23:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107839
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 8918516e75f76db61523f33e8580526cc11e1be1..f3a7f7d0712b212d740039f853b04d410f3ee417 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-737,7
+737,7
@@
void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
// Otherwise, give up on FastISel for the rest of the block.
// For now, be a little lenient about non-branch terminators.
- if (!isa<TerminatorInst>(
BI) || isa<BranchInst>(BI
)) {
+ if (!isa<TerminatorInst>(
Inst) || isa<BranchInst>(Inst
)) {
++NumFastIselFailures;
if (EnableFastISelVerbose || EnableFastISelAbort) {
dbgs() << "FastISel miss: ";