aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/alloc-no-stack-realign-error.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/alloc-no-stack-realign-error.ll')
-rw-r--r--test/CodeGen/ARM/alloc-no-stack-realign-error.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/ARM/alloc-no-stack-realign-error.ll b/test/CodeGen/ARM/alloc-no-stack-realign-error.ll
deleted file mode 100644
index 9b4d12a..0000000
--- a/test/CodeGen/ARM/alloc-no-stack-realign-error.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llc < %s -mtriple=armv7-apple-ios -O0 -realign-stack=0 2>&1 | FileCheck %s
-
-; rdar://12713765
-@T3_retval = common global <16 x float> zeroinitializer, align 16
-
-; If alignment for alloc is smaller than or equal to stack alignment, but the
-; preferred type alignment is bigger, the alignment will be clamped.
-; If alignment for alloca is bigger than stack alignment, the compiler
-; will emit a warning.
-define void @test(<16 x float>* noalias sret %agg.result) nounwind ssp {
-entry:
-; CHECK: warning: Requested alignment exceeds the stack alignment!
- %retval = alloca <16 x float>, align 16
- %0 = load <16 x float>* @T3_retval, align 16
- store <16 x float> %0, <16 x float>* %retval
- %1 = load <16 x float>* %retval
- store <16 x float> %1, <16 x float>* %agg.result, align 16
- ret void
-}