summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2009-10-27-double-align.ll
diff options
context:
space:
mode:
authorBalaram Makam <bmakam@codeaurora.org>2017-08-14 09:41:40 +0000
committerBalaram Makam <bmakam@codeaurora.org>2017-08-14 09:41:40 +0000
commit0028f6a87224fb595a1c19c544cde9b003035996 (patch)
tree4f3db77ea26d7ce523b7675230adce27fc827882 /test/CodeGen/ARM/2009-10-27-double-align.ll
parent66f113a5b0ae9f68aa374be03d6c3eef85edcd68 (diff)
MachineInstr: Reason locally about some memory objects before going to AA.
This addresses a FIXME in MachineInstr::mayAlias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2009-10-27-double-align.ll')
-rw-r--r--test/CodeGen/ARM/2009-10-27-double-align.ll10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/2009-10-27-double-align.ll b/test/CodeGen/ARM/2009-10-27-double-align.ll
index 39f3292e260..98a89a07af6 100644
--- a/test/CodeGen/ARM/2009-10-27-double-align.ll
+++ b/test/CodeGen/ARM/2009-10-27-double-align.ll
@@ -1,13 +1,15 @@
-; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
-; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=basic | FileCheck %s
+; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s --check-prefix=NOREGALLOC
+; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=basic | FileCheck %s --check-prefix=REGALLOC
@.str = private constant [1 x i8] zeroinitializer, align 1
define void @g() {
entry:
;CHECK: [sp, #8]
-;CHECK: [sp, #12]
-;CHECK: [sp]
+;NOREGALLOC: [sp, #12]
+;NOREGALLOC: [sp]
+;REGALLOC: [sp]
+;REGALLOC: [sp, #12]
tail call void (i8*, ...) @f(i8* getelementptr ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i32 1, double 2.000000e+00, i32 3, double 4.000000e+00)
ret void
}