[llvm] [CodeGen] Ensure clearRegisterKills clears inside bundles. (PR #149177)
Ricardo Jesus via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 02:28:39 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:
Sounds good, thanks for the suggestion. I'll open a separate PR to iterate through all instructions in AArch64LoadStoreOptimizer instead.
https://github.com/llvm/llvm-project/pull/149177
More information about the llvm-commits
mailing list