[llvm] [MachineLateInstrsCleanup] Handle multiple kills for a preceding definition. (PR #119132)
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 10:12:19 PST 2025
JonPsson1 wrote:
Ping!
Maybe at some point there could be something like a LivenessAnalysis pass that could be required by late passes that actually depend on correct livein-lists and kill flags? That way passes would not be required to preserve this info - which is much more cumbersome than (re)computing it in one place - and users would get all the kill flags including the ones conservatively removed.
For now, it seems that MachineLateInstrsCleanup has to continue to update this info as best as it can, with this patch fixing the case of a superregister kill.
https://github.com/llvm/llvm-project/pull/119132
More information about the llvm-commits
mailing list