Skip to content

Commit bb3a515

Browse files
committed
[AMDGPU][NFC] Refine determining the vdata operand in MUBUF_Load_Pseudo<>.
A follow-up from <#79025>.
1 parent d386c40 commit bb3a515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/BUFInstructions.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@ class MUBUF_Load_Pseudo <string opName,
485485
list<dag> pattern=[],
486486
// Workaround bug bz30254
487487
int addrKindCopy = addrKind,
488-
RegisterOperand vdata_rc = getVregSrcForVT<vdata_vt>.ret,
489-
RegisterOperand vdata_op = getLdStVDataRegisterOperand<vdata_rc.RegClass, isTFE>.ret>
488+
RegisterClass vdata_rc = getVregSrcForVT<vdata_vt>.ret.RegClass,
489+
RegisterOperand vdata_op = getLdStVDataRegisterOperand<vdata_rc, isTFE>.ret>
490490
: MUBUF_Pseudo<opName,
491491
!if(!or(isLds, isLdsOpc), (outs), (outs vdata_op:$vdata)),
492492
!con(getMUBUFIns<addrKindCopy, [], isTFE, hasGFX12Enc>.ret,

0 commit comments

Comments
 (0)