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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 03:06:35 PDT 2025


arsenm wrote:

> By _this_, are you referring to updating "the more sophisticated checks (that) seem to have never been updated to do anything with bundle", or are you referring to adding something like AnyInBundle to clearRegisterKills, and potentially other such functions, to control how they handle a bundle? (I'm sorry if this is very obvious, but I just got confused interpreting the path you're suggesting.)

Yes, something like that. All of these register based functions, e.g. substituteRegister, clearRegisterKills, addRegisterDead and so on. They possibly should have a bundle query, like the predicate functions.

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


More information about the llvm-commits mailing list