mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
ignore 'invoke @llvm.donothing', but still keep the edge to the continuation BB
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160411 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c82e6a32a
commit
4532bf6ecf
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user