aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-08-09 00:31:40 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-08-09 00:31:40 +0000
commit79f30981fcd25c6ff88807372a2744af02a7690e (patch)
treec0c022e60742a758ad24e02fc035db4f815a3ca6 /test
parente90d3f847dcce76237078b67db8895eb7a24189e (diff)
Fix AAPCS ABI. I can't actually test this, but it restores the behavior from before r159168. PR13562.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/arm-arguments.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/arm-arguments.c b/test/CodeGen/arm-arguments.c
index 1ca9a78e86..dd18414863 100644
--- a/test/CodeGen/arm-arguments.c
+++ b/test/CodeGen/arm-arguments.c
@@ -166,3 +166,9 @@ void f31(struct s31 s) { }
// APCS-GNU: %s = alloca %struct.s31, align 4
// APCS-GNU: alloca [1 x i32]
// APCS-GNU: store [1 x i32] %s.coerce, [1 x i32]*
+
+// PR13562
+struct s32 { double x; };
+void f32(struct s32 s) { }
+// AAPCS: @f32([1 x i64] %s.coerce)
+// APCS-GNU: @f32([2 x i32] %s.coerce)