When inserting UnregisterFn, if there is a musttail call, we must insert before the call so that we don't break the musttail call contract.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The change looks good. But...
- I wonder how many more times we'll have to deal with this.. It indeed seems hard to enforce without IR change :(
- Are we hitting SJLJ path? I thought there's no usage of that for our codebase.
Comment Actions
Modify the IR insertion API and adjust insertion point whenever a musttail call is detected?