[llvm] [AMDGPU] Support image atomic no return instructions (PR #150742)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 28 00:11:33 PDT 2025
================
@@ -6720,9 +6720,17 @@ bool AMDGPULegalizerInfo::legalizeImageIntrinsic(
// We are only processing the operands of d16 image operations on subtargets
// that use the unpacked register layout, or need to repack the TFE result.
+ unsigned IntrOpcode = Intr->BaseOpcode;
+ // For image atomic: use no-return opcode if result is unused.
----------------
harrisonGPU wrote:
Thanks! I‘ve removed the related code. :-)
https://github.com/llvm/llvm-project/pull/150742
More information about the llvm-commits
mailing list