diff options
| author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2023-09-07 13:12:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-07 13:12:58 +0200 |
| commit | 30955c9d22fe87a28b0a8f1545e4b61aa9f92ed4 (patch) | |
| tree | e84f84b6b4872000b13044d19412b0d4bba2f51b /llvm/lib | |
| parent | b7a305deca809e281e7b28a5714d708906821773 (diff) | |
| download | llvm-30955c9d22fe87a28b0a8f1545e4b61aa9f92ed4.zip llvm-30955c9d22fe87a28b0a8f1545e4b61aa9f92ed4.tar.gz llvm-30955c9d22fe87a28b0a8f1545e4b61aa9f92ed4.tar.bz2 | |
[AMDGPU] Fix V_MOV_B32_indirect inst size (#65584)
This inst lowers to a normal v_mov_b32 so it's not zero-sized, but has a
size of 4.
Solves SWDEV-416337
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/VOP1Instructions.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/VOP1Instructions.td b/llvm/lib/Target/AMDGPU/VOP1Instructions.td index af55d32..d536dfd8 100644 --- a/llvm/lib/Target/AMDGPU/VOP1Instructions.td +++ b/llvm/lib/Target/AMDGPU/VOP1Instructions.td @@ -1173,7 +1173,7 @@ defm V_CVT_NORM_U16_F16 : VOP1_Real_vi<0x4e>; defm V_ACCVGPR_MOV_B32 : VOP1Only_Real_vi<0x52>; -let VOP1 = 1, SubtargetPredicate = isGFX8GFX9, Uses = [EXEC, M0] in { +let VOP1 = 1, SubtargetPredicate = isGFX8GFX9, Uses = [EXEC, M0], Size = V_MOV_B32_e32.Size in { // Copy of v_mov_b32 with $vdst as a use operand for use with VGPR // indexing mode. vdst can't be treated as a def for codegen purposes, |
