Skip to content

Commit 9040340

Browse files
kosarevaokblast
authored andcommitted
[AMDGPU] Remove unused True16 patterns. (llvm#163784)
No tests seem to need them here or downstream.
1 parent dde90f3 commit 9040340

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3481,30 +3481,6 @@ def : GCNPat<
34813481
>;
34823482
} // End True16Predicate
34833483

3484-
let True16Predicate = UseRealTrue16Insts in {
3485-
def : GCNPat<
3486-
(fcanonicalize (f16 (VOP3Mods f16:$src, i32:$src_mods))),
3487-
(V_MUL_F16_t16_e64 0, (i16 CONST.FP16_ONE), $src_mods, $src, 0/*Clamp*/, /*omod*/0, /*opsel*/0)
3488-
>;
3489-
3490-
def : GCNPat<
3491-
(fcanonicalize (f16 (fneg (VOP3Mods f16:$src, i32:$src_mods)))),
3492-
(V_MUL_F16_t16_e64 0, (i16 CONST.FP16_NEG_ONE), $src_mods, $src, 0/*Clamp*/, /*omod*/0, /*opsel*/0)
3493-
>;
3494-
} // End True16Predicate
3495-
3496-
let True16Predicate = UseFakeTrue16Insts in {
3497-
def : GCNPat<
3498-
(fcanonicalize (f16 (VOP3Mods f16:$src, i32:$src_mods))),
3499-
(V_MUL_F16_fake16_e64 0, (i32 CONST.FP16_ONE), $src_mods, $src)
3500-
>;
3501-
3502-
def : GCNPat<
3503-
(fcanonicalize (f16 (fneg (VOP3Mods f16:$src, i32:$src_mods)))),
3504-
(V_MUL_F16_fake16_e64 0, (i32 CONST.FP16_NEG_ONE), $src_mods, $src)
3505-
>;
3506-
} // End True16Predicate
3507-
35083484
def : GCNPat<
35093485
(fcanonicalize (v2f16 (VOP3PMods v2f16:$src, i32:$src_mods))),
35103486
(V_PK_MUL_F16 0, (i32 CONST.FP16_ONE), $src_mods, $src, DSTCLAMP.NONE)

0 commit comments

Comments
 (0)