Similar to D156801 for RISCV.
Link: https://github.com/rust-lang/rust/pull/114034
Link: https://github.com/llvm/llvm-project/issues/64090
Paths
| Differential D159252
[LoongArch] Improve codegen for i8/i16 'atomicrmw xchg a, {0,-1}' ClosedPublic Authored by hev on Aug 30 2023, 11:52 PM.
Details Summary Similar to D156801 for RISCV. Link: https://github.com/rust-lang/rust/pull/114034
Diff Detail
Event Timelinehev added a parent revision: D159251: [LoongArch] Add test cases for atomicrmw xchg {0,-1} {i8,i16}.Aug 30 2023, 11:52 PM Comment Actions I've checked the provided context and this patch seems a correct port of the desired behavior. Thanks! This revision is now accepted and ready to land.Aug 31 2023, 12:21 AM This revision was landed with ongoing or failed builds.Sep 25 2023, 8:46 PM Closed by commit rG6417ce4336ea: [LoongArch] Improve codegen for i8/i16 'atomicrmw xchg a, {0,-1}' (authored by hev, committed by SixWeining). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 557348 llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll
|