[llvm] AMDGPU: Drop and upgrade llvm.amdgcn.atomic.csub/cond.sub to atomicrmw (PR #105553)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 05:47:12 PDT 2024
================
@@ -1150,7 +1150,15 @@ Value *SplitPtrStructs::handleMemoryInst(Instruction *I, Value *Arg, Value *Ptr,
case AtomicRMWInst::UIncWrap:
case AtomicRMWInst::UDecWrap:
report_fatal_error("wrapping increment/decrement not supported for "
- "buffer resources and should've ben expanded away");
+ "buffer resources and should've been expanded away");
+ break;
+ case AtomicRMWInst::USubCond:
+ report_fatal_error("conditional subtract not supported for buffer "
----------------
arsenm wrote:
I see BUFFER_ATOMIC_CSUB_U32 in the manual?
https://github.com/llvm/llvm-project/pull/105553
More information about the llvm-commits
mailing list