[llvm] a84a8c9 - [PowerPC] Remove redundant MMA patterns.
Stefan Pintilie via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 07:13:25 PST 2022
Author: Stefan Pintilie
Date: 2022-03-01T09:13:21-06:00
New Revision: a84a8c937ba0455694ed59776b150b80a386d21b
URL: https://github.com/llvm/llvm-project/commit/a84a8c937ba0455694ed59776b150b80a386d21b
DIFF: https://github.com/llvm/llvm-project/commit/a84a8c937ba0455694ed59776b150b80a386d21b.diff
LOG: [PowerPC] Remove redundant MMA patterns.
There are two MMA patterns that have been added twice. This patch just removes
one set of petterns. Should not change the way MMA behaves.
Reviewed By: lei, #powerpc
Differential Revision: https://reviews.llvm.org/D120680
Added:
Modified:
llvm/lib/Target/PowerPC/PPCInstrMMA.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/PowerPC/PPCInstrMMA.td b/llvm/lib/Target/PowerPC/PPCInstrMMA.td
index a268f3c486047..a7e85cda781f5 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrMMA.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrMMA.td
@@ -496,16 +496,6 @@ let Predicates = [MMA, PrefixInstrs] in {
Msk2Imm:$PMSK)),
(PMXVF16GER2NP $ATi, RCCp.AToVSRC, RCCp.BToVSRC, Msk4Imm:$XMSK,
Msk4Imm:$YMSK, Msk2Imm:$PMSK)>;
- def : Pat<(v512i1 (int_ppc_mma_pmxvf16ger2pn v512i1:$ATi, v16i8:$XA, v16i8:$XB,
- Msk4Imm:$XMSK, Msk4Imm:$YMSK,
- Msk2Imm:$PMSK)),
- (PMXVF16GER2PN $ATi, RCCp.AToVSRC, RCCp.BToVSRC, Msk4Imm:$XMSK,
- Msk4Imm:$YMSK, Msk2Imm:$PMSK)>;
- def : Pat<(v512i1 (int_ppc_mma_pmxvf16ger2np v512i1:$ATi, v16i8:$XA, v16i8:$XB,
- Msk4Imm:$XMSK, Msk4Imm:$YMSK,
- Msk2Imm:$PMSK)),
- (PMXVF16GER2NP $ATi, RCCp.AToVSRC, RCCp.BToVSRC, Msk4Imm:$XMSK,
- Msk4Imm:$YMSK, Msk2Imm:$PMSK)>;
def : Pat<(v512i1 (int_ppc_mma_pmxvf16ger2nn v512i1:$ATi, v16i8:$XA, v16i8:$XB,
Msk4Imm:$XMSK, Msk4Imm:$YMSK,
Msk2Imm:$PMSK)),
More information about the llvm-commits
mailing list