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

Ricardo Jesus via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 05:35:30 PDT 2025


rj-jesus wrote:

Yeah, I think so, due to the MOVPRFX bundles.

Would you rather I move this over to AArch64LoadStoreOpt (perhaps with a different iterator for the instructions)? It looks like it might be helpful in `AArch64LoadStoreOpt::promoteLoadFromStore` too, although we might need a contrived and probably unrealistic example to trigger it (presumably a store's register could be killed in a bundle before a promotable load, but I don't think we'd generate such code?).



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


More information about the llvm-commits mailing list