aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll')
-rw-r--r--test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll b/test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll
deleted file mode 100644
index d3aa2331d45f..000000000000
--- a/test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll
+++ /dev/null
@@ -1,25 +0,0 @@
-;PR15293: ARM codegen ice - expected larger existing stack allocation
-;RUN: llc -mtriple=arm-linux-gnueabihf < %s | FileCheck %s
-
-%struct4bytes = type { i32 }
-%struct20bytes = type { i32, i32, i32, i32, i32 }
-
-define void @foo(%struct4bytes* byval %p0, ; --> R0
- %struct20bytes* byval %p1 ; --> R1,R2,R3, [SP+0 .. SP+8)
-) {
-;CHECK: sub sp, sp, #16
-;CHECK: push {r11, lr}
-;CHECK: add r12, sp, #8
-;CHECK: stm r12, {r0, r1, r2, r3}
-;CHECK: add r0, sp, #12
-;CHECK: bl useInt
-;CHECK: pop {r11, lr}
-;CHECK: add sp, sp, #16
-
- %1 = ptrtoint %struct20bytes* %p1 to i32
- tail call void @useInt(i32 %1)
- ret void
-}
-
-declare void @useInt(i32)
-