[llvm] [CodeGen] Ensure clearRegisterKills clears inside bundles. (PR #149177)
Ricardo Jesus via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 08:36:26 PDT 2025
================
@@ -1700,7 +1700,8 @@ class MachineInstr
/// Clear all kill flags affecting Reg. If RegInfo is provided, this includes
/// all aliasing registers.
LLVM_ABI void clearRegisterKills(Register Reg,
- const TargetRegisterInfo *RegInfo);
+ const TargetRegisterInfo *RegInfo,
+ QueryType Type = AllInBundle);
----------------
rj-jesus wrote:
If we go that route, would we then override the default in `AArch64LoadStoreOptimizer`?
I'm happy with that as it solves the direct issue in #149092, but I would assume that not clearing kills in bundles could be an issue elsewhere.
https://github.com/llvm/llvm-project/pull/149177
More information about the llvm-commits
mailing list