[x86] Fix disassembly of callw instruction
[oota-llvm.git] / test / Transforms / Inline / 2007-12-19-InlineNoUnwind.ll
index 5f7da15fc1b2edc56b8b803f54b238d29c93bbc2..a5cfc3b9264c4bee7a10e560f73013a0c8c5c14e 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,9 +8,9 @@ entry:
        %n = call i1 @extern( )
        br i1 %n, label %r, label %u
 r:
-       ret i32 0;
+       ret i32 0
 u:
-       unwind
+       unreachable
 }
 
 define i32 @caller() {