[llvm] [RISCV][GlobalISel] Legalize and select G_ATOMICRMW_ADD instruction (PR #153791)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 10:08:38 PDT 2025
================
@@ -729,6 +736,21 @@ bool RISCVLegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper,
MI.eraseFromParent();
return true;
}
+
+ case Intrinsic::riscv_masked_atomicrmw_add_i32:
----------------
topperc wrote:
I would expect IRTranslator to call RISCVTargetLowering::getTgtMemIntrinsic which should give information for IRTranslator to create this MMO itself. Is that not happening?
https://github.com/llvm/llvm-project/pull/153791
More information about the llvm-commits
mailing list