[PATCH] D146737: [AMDGPU] Trim zero components from buffer and image stores
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 07:30:30 PDT 2023
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp:1115
+
+ int DMaskIdx = dyn_cast<ConstantInt>(II.getArgOperand(1)) ? 1 : -1;
+ if (simplifyAMDGCNMemoryIntrinsicDemanded(IC, II, DemandedElts, DMaskIdx, false))
----------------
I think these intrinsics all have `immarg` on the dmask argument, so it should always be a constant?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146737/new/
https://reviews.llvm.org/D146737
More information about the llvm-commits
mailing list