[llvm] [Xtensa] Implement Xtensa S32C1I Option and atomics lowering. (PR #137134)
    Andrei Safronov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug  5 14:09:41 PDT 2025
    
    
  
================
@@ -1241,6 +1275,13 @@ bool XtensaTargetLowering::decomposeMulByConstant(LLVMContext &Context, EVT VT,
   return false;
 }
 
+SDValue XtensaTargetLowering::LowerATOMIC_FENCE(SDValue Op,
+  SelectionDAG &DAG) const {
+SDLoc DL(Op);
+SDValue Chain = Op.getOperand(0);
+return DAG.getNode(XtensaISD::MEMW, DL, MVT::Other, Chain);
+}
----------------
andreisfr wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/137134
    
    
More information about the llvm-commits
mailing list