diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-06-22 23:04:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-06-22 23:04:02 +0000 |
commit | e5457d21169105b695a7e32d4424a35bb9ca7fa2 (patch) | |
tree | 708fb07d983490f51277220360cb4ab3318509bb /test/CodeGen/X86/alloca-align-rounding.ll | |
parent | 59d454959f36681dc1d68109012edc4cb019f351 (diff) | |
download | llvm-e5457d21169105b695a7e32d4424a35bb9ca7fa2.tar.gz llvm-e5457d21169105b695a7e32d4424a35bb9ca7fa2.tar.bz2 llvm-e5457d21169105b695a7e32d4424a35bb9ca7fa2.tar.xz |
FileCheckize tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/alloca-align-rounding.ll')
-rw-r--r-- | test/CodeGen/X86/alloca-align-rounding.ll | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/X86/alloca-align-rounding.ll b/test/CodeGen/X86/alloca-align-rounding.ll index 3c87dbf2bd..7bc880625c 100644 --- a/test/CodeGen/X86/alloca-align-rounding.ll +++ b/test/CodeGen/X86/alloca-align-rounding.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=x86-64 -mtriple=i686-pc-linux | grep and | count 1 +; RUN: llc < %s -march=x86-64 -mtriple=i686-pc-linux | FileCheck %s declare void @bar(<2 x i64>* %n) @@ -6,10 +6,14 @@ define void @foo(i64 %h) { %p = alloca <2 x i64>, i64 %h call void @bar(<2 x i64>* %p) ret void +; CHECK: foo +; CHECK-NOT: andq $-32, %rax } define void @foo2(i64 %h) { %p = alloca <2 x i64>, i64 %h, align 32 call void @bar(<2 x i64>* %p) ret void +; CHECK: foo2 +; CHECK: andq $-32, %rax } |