[llvm] [CodeGen] Ensure clearRegisterKills clears inside bundles. (PR #149177)
Ricardo Jesus via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 02:21:16 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:
@arsenm For now I've reused the pre-existing QueryType. If you think it would be better to define a separate type for updates, please let me know.
https://github.com/llvm/llvm-project/pull/149177
More information about the llvm-commits
mailing list