[llvm] [CodeGen] Avoid potential sideeffects from XOR (PR #67193)
Bill Wendling via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 11:52:38 PDT 2023
================
@@ -574,8 +574,8 @@ class X86InstrInfo final : public X86GenInstrInfo {
outliner::Candidate &C) const override;
void buildClearRegister(Register Reg, MachineBasicBlock &MBB,
- MachineBasicBlock::iterator Iter,
- DebugLoc &DL) const override;
+ MachineBasicBlock::iterator Iter, DebugLoc &DL,
+ bool NoSideEffects = false) const override;
----------------
bwendling wrote:
Perhaps it should be `AvoidSideEffects`? Then it wouldn't not haven't had that double negative...
https://github.com/llvm/llvm-project/pull/67193
More information about the llvm-commits
mailing list