[clang] [llvm] [LoongArch] Support amcas[_db].{b/h/w/d} instructions. (PR #114189)

Lu Weining via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 18:23:03 PST 2024


================
@@ -5722,6 +5726,58 @@ bool LoongArchTargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
   }
 }
 
+void LoongArchTargetLowering::emitExpandAtomicRMW(AtomicRMWInst *AI) const {
----------------
SixWeining wrote:

Please add some comments for this func and add a test (ir -> ir).

https://github.com/llvm/llvm-project/pull/114189


More information about the cfe-commits mailing list