[llvm] r286173 - [AArch64] Rename test to reflect changes after r286110. NFC.

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 15:13:56 PST 2016


Author: mcrosier
Date: Mon Nov  7 17:13:55 2016
New Revision: 286173

URL: http://llvm.org/viewvc/llvm-project?rev=286173&view=rev
Log:
[AArch64] Rename test to reflect changes after r286110. NFC.

Added:
    llvm/trunk/test/CodeGen/AArch64/arm64-narrow-st-merge.ll
      - copied, changed from r286172, llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
Removed:
    llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll

Removed: llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll?rev=286172&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll (removed)
@@ -1,181 +0,0 @@
-; RUN: llc < %s -mtriple aarch64--none-eabi -mcpu=cortex-a57 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=LE
-; RUN: llc < %s -mtriple aarch64_be--none-eabi -mcpu=cortex-a57 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=BE
-; RUN: llc < %s -mtriple aarch64--none-eabi -mcpu=kryo -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=LE
-
-; CHECK-LABEL: Strh_zero
-; CHECK: str wzr
-define void @Strh_zero(i16* nocapture %P, i32 %n) {
-entry:
-  %idxprom = sext i32 %n to i64
-  %arrayidx = getelementptr inbounds i16, i16* %P, i64 %idxprom
-  store i16 0, i16* %arrayidx
-  %add = add nsw i32 %n, 1
-  %idxprom1 = sext i32 %add to i64
-  %arrayidx2 = getelementptr inbounds i16, i16* %P, i64 %idxprom1
-  store i16 0, i16* %arrayidx2
-  ret void
-}
-
-; CHECK-LABEL: Strh_zero_4
-; CHECK: stp wzr, wzr
-define void @Strh_zero_4(i16* nocapture %P, i32 %n) {
-entry:
-  %idxprom = sext i32 %n to i64
-  %arrayidx = getelementptr inbounds i16, i16* %P, i64 %idxprom
-  store i16 0, i16* %arrayidx
-  %add = add nsw i32 %n, 1
-  %idxprom1 = sext i32 %add to i64
-  %arrayidx2 = getelementptr inbounds i16, i16* %P, i64 %idxprom1
-  store i16 0, i16* %arrayidx2
-  %add3 = add nsw i32 %n, 2
-  %idxprom4 = sext i32 %add3 to i64
-  %arrayidx5 = getelementptr inbounds i16, i16* %P, i64 %idxprom4
-  store i16 0, i16* %arrayidx5
-  %add6 = add nsw i32 %n, 3
-  %idxprom7 = sext i32 %add6 to i64
-  %arrayidx8 = getelementptr inbounds i16, i16* %P, i64 %idxprom7
-  store i16 0, i16* %arrayidx8
-  ret void
-}
-
-; CHECK-LABEL: Strw_zero
-; CHECK: str xzr
-define void @Strw_zero(i32* nocapture %P, i32 %n) {
-entry:
-  %idxprom = sext i32 %n to i64
-  %arrayidx = getelementptr inbounds i32, i32* %P, i64 %idxprom
-  store i32 0, i32* %arrayidx
-  %add = add nsw i32 %n, 1
-  %idxprom1 = sext i32 %add to i64
-  %arrayidx2 = getelementptr inbounds i32, i32* %P, i64 %idxprom1
-  store i32 0, i32* %arrayidx2
-  ret void
-}
-
-; CHECK-LABEL: Strw_zero_nonzero
-; CHECK: stp wzr, w1
-define void @Strw_zero_nonzero(i32* nocapture %P, i32 %n)  {
-entry:
-  %idxprom = sext i32 %n to i64
-  %arrayidx = getelementptr inbounds i32, i32* %P, i64 %idxprom
-  store i32 0, i32* %arrayidx
-  %add = add nsw i32 %n, 1
-  %idxprom1 = sext i32 %add to i64
-  %arrayidx2 = getelementptr inbounds i32, i32* %P, i64 %idxprom1
-  store i32 %n, i32* %arrayidx2
-  ret void
-}
-
-; CHECK-LABEL: Strw_zero_4
-; CHECK: stp xzr
-define void @Strw_zero_4(i32* nocapture %P, i32 %n) {
-entry:
-  %idxprom = sext i32 %n to i64
-  %arrayidx = getelementptr inbounds i32, i32* %P, i64 %idxprom
-  store i32 0, i32* %arrayidx
-  %add = add nsw i32 %n, 1
-  %idxprom1 = sext i32 %add to i64
-  %arrayidx2 = getelementptr inbounds i32, i32* %P, i64 %idxprom1
-  store i32 0, i32* %arrayidx2
-  %add3 = add nsw i32 %n, 2
-  %idxprom4 = sext i32 %add3 to i64
-  %arrayidx5 = getelementptr inbounds i32, i32* %P, i64 %idxprom4
-  store i32 0, i32* %arrayidx5
-  %add6 = add nsw i32 %n, 3
-  %idxprom7 = sext i32 %add6 to i64
-  %arrayidx8 = getelementptr inbounds i32, i32* %P, i64 %idxprom7
-  store i32 0, i32* %arrayidx8
-  ret void
-}
-
-; CHECK-LABEL: Sturb_zero
-; CHECK: sturh wzr
-define void @Sturb_zero(i8* nocapture %P, i32 %n) #0 {
-entry:
-  %sub = add nsw i32 %n, -2
-  %idxprom = sext i32 %sub to i64
-  %arrayidx = getelementptr inbounds i8, i8* %P, i64 %idxprom
-  store i8 0, i8* %arrayidx
-  %sub2= add nsw i32 %n, -1
-  %idxprom1 = sext i32 %sub2 to i64
-  %arrayidx2 = getelementptr inbounds i8, i8* %P, i64 %idxprom1
-  store i8 0, i8* %arrayidx2
-  ret void
-}
-
-; CHECK-LABEL: Sturh_zero
-; CHECK: stur wzr
-define void @Sturh_zero(i16* nocapture %P, i32 %n) {
-entry:
-  %sub = add nsw i32 %n, -2
-  %idxprom = sext i32 %sub to i64
-  %arrayidx = getelementptr inbounds i16, i16* %P, i64 %idxprom
-  store i16 0, i16* %arrayidx
-  %sub1 = add nsw i32 %n, -3
-  %idxprom2 = sext i32 %sub1 to i64
-  %arrayidx3 = getelementptr inbounds i16, i16* %P, i64 %idxprom2
-  store i16 0, i16* %arrayidx3
-  ret void
-}
-
-; CHECK-LABEL: Sturh_zero_4
-; CHECK: stp wzr, wzr
-define void @Sturh_zero_4(i16* nocapture %P, i32 %n) {
-entry:
-  %sub = add nsw i32 %n, -3
-  %idxprom = sext i32 %sub to i64
-  %arrayidx = getelementptr inbounds i16, i16* %P, i64 %idxprom
-  store i16 0, i16* %arrayidx
-  %sub1 = add nsw i32 %n, -4
-  %idxprom2 = sext i32 %sub1 to i64
-  %arrayidx3 = getelementptr inbounds i16, i16* %P, i64 %idxprom2
-  store i16 0, i16* %arrayidx3
-  %sub4 = add nsw i32 %n, -2
-  %idxprom5 = sext i32 %sub4 to i64
-  %arrayidx6 = getelementptr inbounds i16, i16* %P, i64 %idxprom5
-  store i16 0, i16* %arrayidx6
-  %sub7 = add nsw i32 %n, -1
-  %idxprom8 = sext i32 %sub7 to i64
-  %arrayidx9 = getelementptr inbounds i16, i16* %P, i64 %idxprom8
-  store i16 0, i16* %arrayidx9
-  ret void
-}
-
-; CHECK-LABEL: Sturw_zero
-; CHECK: stur xzr
-define void @Sturw_zero(i32* nocapture %P, i32 %n) {
-entry:
-  %sub = add nsw i32 %n, -3
-  %idxprom = sext i32 %sub to i64
-  %arrayidx = getelementptr inbounds i32, i32* %P, i64 %idxprom
-  store i32 0, i32* %arrayidx
-  %sub1 = add nsw i32 %n, -4
-  %idxprom2 = sext i32 %sub1 to i64
-  %arrayidx3 = getelementptr inbounds i32, i32* %P, i64 %idxprom2
-  store i32 0, i32* %arrayidx3
-  ret void
-}
-
-; CHECK-LABEL: Sturw_zero_4
-; CHECK: stp xzr, xzr
-define void @Sturw_zero_4(i32* nocapture %P, i32 %n) {
-entry:
-  %sub = add nsw i32 %n, -3
-  %idxprom = sext i32 %sub to i64
-  %arrayidx = getelementptr inbounds i32, i32* %P, i64 %idxprom
-  store i32 0, i32* %arrayidx
-  %sub1 = add nsw i32 %n, -4
-  %idxprom2 = sext i32 %sub1 to i64
-  %arrayidx3 = getelementptr inbounds i32, i32* %P, i64 %idxprom2
-  store i32 0, i32* %arrayidx3
-  %sub4 = add nsw i32 %n, -2
-  %idxprom5 = sext i32 %sub4 to i64
-  %arrayidx6 = getelementptr inbounds i32, i32* %P, i64 %idxprom5
-  store i32 0, i32* %arrayidx6
-  %sub7 = add nsw i32 %n, -1
-  %idxprom8 = sext i32 %sub7 to i64
-  %arrayidx9 = getelementptr inbounds i32, i32* %P, i64 %idxprom8
-  store i32 0, i32* %arrayidx9
-  ret void
-}
-

Copied: llvm/trunk/test/CodeGen/AArch64/arm64-narrow-st-merge.ll (from r286172, llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-narrow-st-merge.ll?p2=llvm/trunk/test/CodeGen/AArch64/arm64-narrow-st-merge.ll&p1=llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll&r1=286172&r2=286173&rev=286173&view=diff
==============================================================================
    (empty)




More information about the llvm-commits mailing list