[llvm] c250aeb - [AMDGPU] Fix typo in VIMAGE no sampler opcode usage (NFCI)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 20:40:21 PDT 2024
Author: Carl Ritson
Date: 2024-05-29T12:39:26+09:00
New Revision: c250aeb9d6c590d9fdbebd84fc259c4e536dace9
URL: https://github.com/llvm/llvm-project/commit/c250aeb9d6c590d9fdbebd84fc259c4e536dace9
DIFF: https://github.com/llvm/llvm-project/commit/c250aeb9d6c590d9fdbebd84fc259c4e536dace9.diff
LOG: [AMDGPU] Fix typo in VIMAGE no sampler opcode usage (NFCI)
Opcodes are the same for these instructions in GFX11 and 12,
hence this typo has no functional impact.
Added:
Modified:
llvm/lib/Target/AMDGPU/MIMGInstructions.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/MIMGInstructions.td b/llvm/lib/Target/AMDGPU/MIMGInstructions.td
index 351263d079768..24f9a6e375baa 100644
--- a/llvm/lib/Target/AMDGPU/MIMGInstructions.td
+++ b/llvm/lib/Target/AMDGPU/MIMGInstructions.td
@@ -494,7 +494,7 @@ class MIMG_NoSampler_nsa_gfx11<mimgopc op, string opcode,
class VIMAGE_NoSampler_gfx12<mimgopc op, string opcode,
RegisterClass DataRC, int num_addrs,
string dns="">
- : VIMAGE_gfx12<op.GFX11, (outs DataRC:$vdata), num_addrs, dns> {
+ : VIMAGE_gfx12<op.GFX12, (outs DataRC:$vdata), num_addrs, dns> {
let InOperandList = !con(AddrIns,
(ins SReg_256:$rsrc, DMask:$dmask, Dim:$dim,
CPol:$cpol, R128A16:$r128, A16:$a16, TFE:$tfe),
More information about the llvm-commits
mailing list