Add thumb2 add sp.
[oota-llvm.git] / test / Transforms / Inline / 2007-04-15-InlineEH.ll
index 4984354d18f6f0d38d6a9440c77b3265a0f125d7..083a328ae67385463679ebdf8fea53d75a7a96c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep {invoke void asm}
 ; PR1335
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
@@ -8,7 +8,7 @@ target triple = "i686-pc-linux-gnu"
 
 define void @bc__support__high_resolution_time__clock() {
 entry:
-       call void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "==imr,==imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
+       call void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null ) nounwind
        unreachable
 }