[llvm] 3128632 - [AMDGPU] Stop hardcoding v_mov_b32 in VOPD. NFCI.
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 10 11:24:24 PDT 2023
Author: Stanislav Mekhanoshin
Date: 2023-06-10T11:24:15-07:00
New Revision: 31286329dd7c4f37b58338d45b3f4088632eff7a
URL: https://github.com/llvm/llvm-project/commit/31286329dd7c4f37b58338d45b3f4088632eff7a
DIFF: https://github.com/llvm/llvm-project/commit/31286329dd7c4f37b58338d45b3f4088632eff7a.diff
LOG: [AMDGPU] Stop hardcoding v_mov_b32 in VOPD. NFCI.
There is no single possible reason to to it.
Differential Revision: https://reviews.llvm.org/D152616
Added:
Modified:
llvm/lib/Target/AMDGPU/VOP1Instructions.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/VOP1Instructions.td b/llvm/lib/Target/AMDGPU/VOP1Instructions.td
index 72ed1cc95a112..2c3308e1a3e8b 100644
--- a/llvm/lib/Target/AMDGPU/VOP1Instructions.td
+++ b/llvm/lib/Target/AMDGPU/VOP1Instructions.td
@@ -120,7 +120,7 @@ multiclass VOP1Inst <string opName, VOPProfile P,
def _e32 : VOP1_Pseudo <opName, P>;
else
// Only for V_MOV_B32
- def _e32 : VOP1_Pseudo <opName, P>, VOPD_Component<VOPDOp, "v_mov_b32">;
+ def _e32 : VOP1_Pseudo <opName, P>, VOPD_Component<VOPDOp, opName>;
def _e64 : VOP3InstBase <opName, P, node>;
}
More information about the llvm-commits
mailing list