[WinEH] Add some test cases I forgot to add to previous commits
[oota-llvm.git] / test / CodeGen / AArch64 / remat.ll
1 ; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a57 -o - %s | FileCheck %s
2 ; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a53 -o - %s | FileCheck %s
3 ; RUN: llc -mtriple=aarch64-linux-gnuabi -mcpu=cortex-a72 -o - %s | FileCheck %s
4
5 %X = type { i64, i64, i64 }
6 declare void @f(%X*)
7 define void @t() {
8 entry:
9   %tmp = alloca %X
10   call void @f(%X* %tmp)
11 ; CHECK: add x0, sp, #8
12 ; CHECK-NEXT-NOT: mov
13   call void @f(%X* %tmp)               
14 ; CHECK: add x0, sp, #8
15 ; CHECK-NEXT-NOT: mov
16   ret void 
17 }