[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:57:02 PDT 2025
================
@@ -117,6 +118,10 @@ class XtensaTargetLowering : public TargetLowering {
const SmallVectorImpl<SDValue> &OutVals, const SDLoc &DL,
SelectionDAG &DAG) const override;
+ bool shouldInsertFencesForAtomic(const Instruction *I) const override {
+ return true;
----------------
andreisfr wrote:
Added test for AtomicExpand pass.
https://github.com/llvm/llvm-project/pull/137134
More information about the llvm-commits
mailing list