diff options
author | Tim Northover <tnorthover@apple.com> | 2014-05-24 12:42:26 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-05-24 12:42:26 +0000 |
commit | cc08e1fe1b3feef12a1eba31f8afcc3bbefc733e (patch) | |
tree | 944d86a337d00e62dbc49d2ff0aad7925472afa7 /llvm/test/CodeGen/AArch64/alloca.ll | |
parent | f6ee78cfb7869dba4f797cbc0573bf02beac7810 (diff) | |
download | bcm5719-llvm-cc08e1fe1b3feef12a1eba31f8afcc3bbefc733e.tar.gz bcm5719-llvm-cc08e1fe1b3feef12a1eba31f8afcc3bbefc733e.zip |
AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64.
I'm doing this in two phases for a better "git blame" record. This
commit removes the previous AArch64 backend and redirects all
functionality to ARM64. It also deduplicates test-lines and removes
orphaned AArch64 tests.
The next step will be "git mv ARM64 AArch64" and rewire most of the
tests.
Hopefully LLVM is still functional, though it would be even better if
no-one ever had to care because the rename happens straight
afterwards.
llvm-svn: 209576
Diffstat (limited to 'llvm/test/CodeGen/AArch64/alloca.ll')
-rw-r--r-- | llvm/test/CodeGen/AArch64/alloca.ll | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/test/CodeGen/AArch64/alloca.ll b/llvm/test/CodeGen/AArch64/alloca.ll index f73365b20c2..7cab200b1ea 100644 --- a/llvm/test/CodeGen/AArch64/alloca.ll +++ b/llvm/test/CodeGen/AArch64/alloca.ll @@ -1,6 +1,4 @@ -; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AARCH64 ; RUN: llc -mtriple=arm64-linux-gnu -verify-machineinstrs -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-ARM64 -; RUN: llc -mtriple=aarch64-none-linux-gnu -mattr=-fp-armv8 -verify-machineinstrs < %s | FileCheck --check-prefix=CHECK-NOFP-AARCH64 %s ; RUN: llc -mtriple=arm64-none-linux-gnu -mattr=-fp-armv8 -verify-machineinstrs < %s | FileCheck --check-prefix=CHECK-NOFP-ARM64 %s declare void @use_addr(i8*) @@ -54,8 +52,6 @@ define i64 @test_alloca_with_local(i64 %n) { ; CHECK: bl use_addr %val = load i64* %loc -; CHECK-AARCH64: sub x[[TMP:[0-9]+]], x29, #[[LOC_FROM_FP]] -; CHECK-AARCH64: ldr x0, [x[[TMP]]] ; CHECK-ARM64: ldur x0, [x29, #-[[LOC_FROM_FP]]] @@ -68,13 +64,7 @@ define i64 @test_alloca_with_local(i64 %n) { define void @test_variadic_alloca(i64 %n, ...) { ; CHECK-LABEL: test_variadic_alloca: -; CHECK-AARCH64: sub sp, sp, #{{[0-9]+}} -; CHECK-AARCH64: add x29, sp, #192 -; CHECK-AARCH64: sub [[TMP:x[0-9]+]], x29, #192 -; CHECK-AARCH64: add x8, [[TMP]], #0 -; CHECK-AARCH64-FP: str q7, [x8, #112] ; [...] -; CHECK-AARCH64-FP: str q1, [x8, #16] ; CHECK-NOFP-AARCH64: sub sp, sp, #80 @@ -112,9 +102,6 @@ define void @test_variadic_alloca(i64 %n, ...) { ; CHECK: bl use_addr ret void -; CHECK-AARCH64: sub sp, x29, #192 -; CHECK-AARCH64: ldp x29, x30, [sp, #192] -; CHECK-AARCH64: add sp, sp, #208 ; CHECK-NOFP-AARCH64: sub sp, x29, #64 ; CHECK-NOFP-AARCH64: ldp x29, x30, [sp, #64] @@ -127,11 +114,6 @@ define void @test_variadic_alloca(i64 %n, ...) { define void @test_alloca_large_frame(i64 %n) { ; CHECK-LABEL: test_alloca_large_frame: -; CHECK-AARCH64: sub sp, sp, #496 -; CHECK-AARCH64: stp x29, x30, [sp, #480] -; CHECK-AARCH64: add x29, sp, #480 -; CHECK-AARCH64: sub sp, sp, #48 -; CHECK-AARCH64: sub sp, sp, #1953, lsl #12 ; CHECK-ARM64: stp x20, x19, [sp, #-32]! ; CHECK-ARM64: stp x29, x30, [sp, #16] @@ -145,9 +127,6 @@ define void @test_alloca_large_frame(i64 %n) { call void @use_addr_loc(i8* %addr1, i64* %addr2) ret void -; CHECK-AARCH64: sub sp, x29, #480 -; CHECK-AARCH64: ldp x29, x30, [sp, #480] -; CHECK-AARCH64: add sp, sp, #496 ; CHECK-ARM64: sub sp, x29, #16 ; CHECK-ARM64: ldp x29, x30, [sp, #16] |