[llvm] 65462a0 - [NFC][SVE] Remove redundant pattern

Jun Ma via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 19:35:47 PDT 2021


Author: Jun Ma
Date: 2021-03-30T10:35:08+08:00
New Revision: 65462a08bfb94cafad41d5b95e6ec6274eeb9ae3

URL: https://github.com/llvm/llvm-project/commit/65462a08bfb94cafad41d5b95e6ec6274eeb9ae3
DIFF: https://github.com/llvm/llvm-project/commit/65462a08bfb94cafad41d5b95e6ec6274eeb9ae3.diff

LOG: [NFC][SVE] Remove redundant pattern

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td b/llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
index d30bfe45335d..d3a607d1dddb 100644
--- a/llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+++ b/llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
@@ -2276,8 +2276,6 @@ let Predicates = [HasSVE] in {
             (EXTRACT_SUBREG (DUP_ZZI_D ZPR:$vec, sve_elm_idx_extdup_d:$index), dsub)>;
   def : Pat<(f16 (vector_extract (nxv8f16 ZPR:$vec), sve_elm_idx_extdup_h:$index)),
             (EXTRACT_SUBREG (DUP_ZZI_H ZPR:$vec, sve_elm_idx_extdup_h:$index), hsub)>;
-  def : Pat<(f16 (vector_extract (nxv8f16 ZPR:$vec), sve_elm_idx_extdup_h:$index)),
-            (EXTRACT_SUBREG (DUP_ZZI_H ZPR:$vec, sve_elm_idx_extdup_h:$index), hsub)>;
   def : Pat<(f16 (vector_extract (nxv4f16 ZPR:$vec), sve_elm_idx_extdup_s:$index)),
             (EXTRACT_SUBREG (DUP_ZZI_S ZPR:$vec, sve_elm_idx_extdup_s:$index), hsub)>;
   def : Pat<(f16 (vector_extract (nxv2f16 ZPR:$vec), sve_elm_idx_extdup_d:$index)),


        


More information about the llvm-commits mailing list