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:
ea09f4f
)
If TargetSelectInstruction returns true, move to next instruction.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 3 Sep 2008 06:43:41 +0000
(06:43 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 3 Sep 2008 06:43:41 +0000
(06:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55692
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 f0afdae866be429cd62114f96bed00704e489944..f242094baf756c59ed788df8ac0eb3609b53d916 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-5763,8
+5763,10
@@
void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF) {
// Next, try calling the target to attempt to handle the instruction.
if (F->TargetSelectInstruction(Begin, FuncInfo->ValueMap,
- FuncInfo->MBBMap, BB))
+ FuncInfo->MBBMap, BB)) {
+ ++Begin;
continue;
+ }
// Handle certain instructions as single-LLVM-Instruction blocks.
if (isa<CallInst>(Begin) || isa<LoadInst>(Begin) ||