Skip to content

Commit cb73271

Browse files
authored
[AMDGPU][CodeGen] use vt in VGPRimm pattern (#131016)
There seems to be a typo error introduced by 2033767 Correct this pattern to use vt.
1 parent f4fc2d7 commit cb73271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,7 @@ foreach pred = [NotHasTrue16BitInsts, UseFakeTrue16Insts] in {
22682268

22692269
foreach vt = [f16, bf16] in {
22702270
def : GCNPat <
2271-
(VGPRImm<(f16 fpimm)>:$imm),
2271+
(VGPRImm<(vt fpimm)>:$imm),
22722272
(V_MOV_B32_e32 (vt (bitcast_fpimm_to_i32 $imm)))
22732273
>;
22742274
}

0 commit comments

Comments
 (0)