[PATCH] D92085: [AMDGPU][MC][GFX10] Improved diagnistic message for image instructions w/o DIM modifier
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 25 10:14:58 PST 2020
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:4032
+ if (IsMIMG && isGFX10() &&
+ getImmLoc(AMDGPUOperand::ImmTyDim, Operands) == IDLoc) {
+ return Error(IDLoc, "missing dim modifier");
----------------
It is not necessarily "dim". For example image_bvh* do not have dim modifier.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92085/new/
https://reviews.llvm.org/D92085
More information about the llvm-commits
mailing list