Generalize target-independent folding rules for sizeof to handle more
[oota-llvm.git] / test / Transforms / Inline / 2007-12-19-InlineNoUnwind.ll
index 5f7da15fc1b2edc56b8b803f54b238d29c93bbc2..979157ebc8b4016a4306d3b22a5c57c7c499abab 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as %s -o - | opt -inline | llvm-dis | grep nounwind
-; RUN: llvm-as %s -o - | opt -inline | llvm-dis | grep unreachable
+; RUN: opt < %s -inline -S | grep nounwind
+; RUN: opt < %s -inline -S | grep unreachable
 
 declare i1 @extern()
 
@@ -8,7 +8,7 @@ entry:
        %n = call i1 @extern( )
        br i1 %n, label %r, label %u
 r:
-       ret i32 0;
+       ret i32 0
 u:
        unwind
 }