@@ -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-
35083484def : 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