Merging r261039:
[oota-llvm.git] / test / CodeGen / X86 / dyn-stackalloc.ll
index 049a32cea717a8a27f77883bbeee43e011d69603..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