[llvm] [RISCV][GlobalISel] Legalize and select G_ATOMICRMW_ADD instruction (PR #153791)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 10:10:31 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 decided to do https://github.com/llvm/llvm-project/pull/154845 instead of https://github.com/llvm/llvm-project/pull/154805. So now there is only one set of intrinsics shared for i32 and i64.
> should the cases for riscv_masked_atomicrmw_*_i32/i64 in RISCVLegalizerInfo::legalizeIntrinsic simply return true?
Yes
https://github.com/llvm/llvm-project/pull/153791
More information about the llvm-commits
mailing list