[llvm] bb3a515 - [AMDGPU][NFC] Refine determining the vdata operand in MUBUF_Load_Pseudo<>.
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 02:20:58 PST 2024
Author: Ivan Kosarev
Date: 2024-01-23T10:20:44Z
New Revision: bb3a515f95513571886bb900d4ddefb9ea5b4bad
URL: https://github.com/llvm/llvm-project/commit/bb3a515f95513571886bb900d4ddefb9ea5b4bad
DIFF: https://github.com/llvm/llvm-project/commit/bb3a515f95513571886bb900d4ddefb9ea5b4bad.diff
LOG: [AMDGPU][NFC] Refine determining the vdata operand in MUBUF_Load_Pseudo<>.
A follow-up from <https://github.com/llvm/llvm-project/pull/79025>.
Added:
Modified:
llvm/lib/Target/AMDGPU/BUFInstructions.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/BUFInstructions.td b/llvm/lib/Target/AMDGPU/BUFInstructions.td
index 87247a134848b59..ae0955f0cf6a4da 100644
--- a/llvm/lib/Target/AMDGPU/BUFInstructions.td
+++ b/llvm/lib/Target/AMDGPU/BUFInstructions.td
@@ -485,8 +485,8 @@ class MUBUF_Load_Pseudo <string opName,
list<dag> pattern=[],
// Workaround bug bz30254
int addrKindCopy = addrKind,
- RegisterOperand vdata_rc = getVregSrcForVT<vdata_vt>.ret,
- RegisterOperand vdata_op = getLdStVDataRegisterOperand<vdata_rc.RegClass, isTFE>.ret>
+ RegisterClass vdata_rc = getVregSrcForVT<vdata_vt>.ret.RegClass,
+ RegisterOperand vdata_op = getLdStVDataRegisterOperand<vdata_rc, isTFE>.ret>
: MUBUF_Pseudo<opName,
!if(!or(isLds, isLdsOpc), (outs), (outs vdata_op:$vdata)),
!con(getMUBUFIns<addrKindCopy, [], isTFE, hasGFX12Enc>.ret,
More information about the llvm-commits
mailing list