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:
7c82e6a
)
ignore 'invoke @llvm.donothing', but still keep the edge to the continuation BB
author
Nuno Lopes
<nunoplopes@sapo.pt>
Wed, 18 Jul 2012 00:07:17 +0000
(
00:07
+0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Wed, 18 Jul 2012 00:07:17 +0000
(
00:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160411
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 42b9099cdc35f93b56834ef403e9a40412d38636..54d8cb71eaa13a206187ec5d2b41d66a4b7130c8 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@
-1833,7
+1833,7
@@
void SelectionDAGBuilder::visitInvoke(const InvokeInst &I) {
visitInlineAsm(&I);
else if (Fn && Fn->isIntrinsic()) {
assert(Fn->getIntrinsicID() == Intrinsic::donothing);
- return; // ignore invokes to @llvm.donothing
+ // Ignore invokes to @llvm.donothing: jump directly to the next BB.
} else
LowerCallTo(&I, getValue(Callee), false, LandingPad);