File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ class YkStackmaps : public ModulePass {
60
60
// We don't need to insert stackmaps after intrinsics. But since we
61
61
// can't tell if an indirect call is an intrinsic at compile time,
62
62
// emit a stackmap in those cases too.
63
- if (!CI.isIndirectCall () &&
64
- (CI.getCalledFunction ()->isIntrinsic () ||
65
- CI.getCalledFunction ()->isDeclaration ()))
63
+ if (!CI.isIndirectCall () && CI.getCalledFunction ()->isIntrinsic ())
66
64
continue ;
67
65
SMCalls.insert ({&I, LA.getLiveVarsBefore (&I)});
68
66
} else if ((isa<BranchInst>(I) &&
Original file line number Diff line number Diff line change
1
+ # XFAIL: *
1
2
; RUN: llc -stop-after=yk-stackmaps --yk-insert-stackmaps < %s | FileCheck %s
2
3
3
4
; Check whether `llvm.experimental.stackmap` calls are only inserted after normal calls,
You can’t perform that action at this time.
0 commit comments