[llvm] [MachineOutliner] Preserve regmasks in calls to outlined functions (PR #120940)

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 15:54:59 PST 2025


MatzeB wrote:

Not sure I have the full context here, but this feels like it is attempting to construct some clobber mask for an outlined call by merging all the register masks of the calls in the newly outlined function. That seems wrong to me as it completely ignores any other register usage (normal defs can clobber registers just as well as calls with clobbers can). So this seems incomplete/wrong to me as-is...

https://github.com/llvm/llvm-project/pull/120940


More information about the llvm-commits mailing list