Skip to content

Commit 8715600

Browse files
authored
[AMDGPU] Set SchedRW = Write64Bit on V_MOV_B64 (llvm#70135)
This is mostly NFCI as V_MOV_B64_PSEUDO is selected instead and expanded past RA.
1 parent 0e4264a commit 8715600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/VOP1Instructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def VOPProfile_MOV : VOPProfile <[i32, i32, untyped, untyped]> {
221221
let isReMaterializable = 1, isAsCheapAsAMove = 1 in {
222222
defm V_MOV_B32 : VOP1Inst <"v_mov_b32", VOPProfile_MOV, null_frag, 0x8>;
223223

224-
let SubtargetPredicate = isGFX940Plus in
224+
let SubtargetPredicate = isGFX940Plus, SchedRW = [Write64Bit] in
225225
defm V_MOV_B64 : VOP1Inst <"v_mov_b64", VOP_I64_I64>;
226226
} // End isMoveImm = 1
227227

0 commit comments

Comments
 (0)