[flang-commits] [flang] [CodeGen] Avoid potential sideeffects from XOR (PR #67193)

Nick Desaulniers via flang-commits flang-commits at lists.llvm.org
Tue Sep 26 15:56:09 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 flang-commits mailing list