[llvm] [Xtensa] Implement Xtensa S32C1I Option and atomics lowering. (PR #137134)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 02:48:03 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;
----------------
arsenm wrote:
Should get test coverage in test/Transforms/AtomicExpand
https://github.com/llvm/llvm-project/pull/137134
More information about the llvm-commits
mailing list