[llvm] [CodeGen] Ensure clearRegisterKills clears inside bundles. (PR #149177)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 03:27:51 PDT 2025


davemgreen wrote:

Ah I see this was only tangentially related to #134068 - it just made it mode likely to trigger.

I fixed #146415 recently for a similar issue, but there it used a different iterator type to make sure the instruction in the bundle were also visited, not skipped over.

Perhaps @arsenm knows if this sounds OK for the generic MachineInstr::clearRegisterKills? It seems sensible to me but we could just try and make sure the the AArch64LoadStore optimizer visited the instruction in the bundle too.

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


More information about the llvm-commits mailing list