-; RUN: llvm-as < %s | llc -march=x86 | not grep neg
-; RUN: llvm-as < %s | llc -march=x86 | not grep sub.*esp
-; RUN: llvm-as < %s | llc -march=x86 | not grep esi
+; RUN: llc < %s -march=x86 > %t
+; RUN: not grep neg %t
+; RUN: not grep sub.*esp %t
+; RUN: not grep esi %t
+; RUN: not grep push %t
; This corresponds to:
;int t(int a, int b) {
;}
-define i32 @t(i32 %a, i32 %b) {
+define i32 @t(i32 %a, i32 %b) nounwind {
entry:
%tmp1434 = icmp eq i32 %a, %b ; <i1> [#uses=1]
br i1 %tmp1434, label %bb17, label %bb.outer