Skip to content

Commit c250aeb

Browse files
committed
[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.
1 parent 7832769 commit c250aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/MIMGInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ class MIMG_NoSampler_nsa_gfx11<mimgopc op, string opcode,
494494
class VIMAGE_NoSampler_gfx12<mimgopc op, string opcode,
495495
RegisterClass DataRC, int num_addrs,
496496
string dns="">
497-
: VIMAGE_gfx12<op.GFX11, (outs DataRC:$vdata), num_addrs, dns> {
497+
: VIMAGE_gfx12<op.GFX12, (outs DataRC:$vdata), num_addrs, dns> {
498498
let InOperandList = !con(AddrIns,
499499
(ins SReg_256:$rsrc, DMask:$dmask, Dim:$dim,
500500
CPol:$cpol, R128A16:$r128, A16:$a16, TFE:$tfe),

0 commit comments

Comments
 (0)