[clang] [CodeGen] Avoid potential sideeffects from XOR (PR #67193)
    Nick Desaulniers via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Sep 26 15:56:07 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;
----------------
nickdesaulniers wrote:
Yeah, that SGTM
https://github.com/llvm/llvm-project/pull/67193
    
    
More information about the cfe-commits
mailing list