Skip to content

Commit a8e0dba

Browse files
authored
[AMDGPU] Use HasTransposeLoadF4F6Insts predicate on global_load_tr_* (#153266)
1 parent 76f1c7a commit a8e0dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/FLATInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ let WaveSizePredicate = isWave64, SubtargetPredicate = isGFX12PlusNot12_50 in {
12741274
defm GLOBAL_LOAD_TR_B64_w64 : FLAT_Global_Load_Pseudo <"global_load_tr_b64_w64", VGPR_32>;
12751275
}
12761276

1277-
let WaveSizePredicate = isWave32, SubtargetPredicate = isGFX1250Plus in {
1277+
let WaveSizePredicate = isWave32, SubtargetPredicate = HasTransposeLoadF4F6Insts in {
12781278
defm GLOBAL_LOAD_TR6_B96 : FLAT_Global_Load_Pseudo <"global_load_tr6_b96", VReg_96>;
12791279
defm GLOBAL_LOAD_TR4_B64 : FLAT_Global_Load_Pseudo <"global_load_tr4_b64", VReg_64>;
12801280
}

0 commit comments

Comments
 (0)