[llvm-branch-commits] [llvm] [AArch64][MachineOutliner] Handle async CFI for outlined calls (PR #236836)
Csanád Hajdú via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 12 05:46:30 PST 2026
Il-Capitano wrote:
> We have various solutions for caching. But if you don't need to share the cache across passes, just stick a DenseMap somewhere in the pass.
I couldn't really do this, since I'm working in a callback inside `AArch64InstrInfo`, so I don't have access to the pass structures. And also, I don't want to change the outliner callback API just for a single backend.
I ended up putting the cached values inside `AArch64FunctionInfo` that's attached to the machine function. I hope that's okay, but let me know if I should do something else.
https://github.com/llvm/llvm-project/pull/236836
More information about the llvm-branch-commits
mailing list