X86: Align the stack on word boundaries in LowerFormalArguments()
[oota-llvm.git] / test / CodeGen / X86 / dyn-stackalloc.ll
index d6ca7023f3d45f6f6be518729ce0caeb44272377..7b0fe18f65c1cfdf7ea6f2e765a1d07793c484a3 100644 (file)
@@ -1,8 +1,11 @@
-; RUN: llvm-as < %s | llc -march=x86 | not egrep {\$4294967289|-7\\(}
-; RUN: llvm-as < %s | llc -march=x86 | egrep {\$4294967280|-16\\(}
-; RUN: llvm-as < %s | llc -march=x86-64 | grep {\\-16}
+; RUN: llc < %s -mtriple=i686-linux | FileCheck %s -check-prefix=X32
+; X32-NOT:     {{$429496728|-7}}
+; X32:     {{$4294967280|-16}}
+; X32-NOT:     {{$429496728|-7}}
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
+; X64:     -16
 
-define void @t() {
+define void @t() nounwind {
 A:
        br label %entry