-; 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