[X86] Add support for tbyte memory operand size for Intel-syntax x86 assembly
[oota-llvm.git] / test / CodeGen / Generic / 2007-12-17-InvokeAsm.ll
index 98871d0e3a45d2f6a80a867356289acc452121f5..fe7f463159a5cfda5dda438fd5f7275d05d17297 100644 (file)
@@ -1,15 +1,17 @@
-; RUN: llvm-as < %s | llc -enable-eh
+; RUN: llc -no-integrated-as < %s
 
-target triple = "i686-pc-linux-gnu"
-
-define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
+define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality i32 (...)* @__gxx_personality_v0 {
 entry:
-       invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
-                       to label %.noexc unwind label %cleanup144
+  invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
+      to label %.noexc unwind label %cleanup144
 
 .noexc:                ; preds = %entry
-       ret void
+  ret void
 
 cleanup144:            ; preds = %entry
-       unwind
+  %exn = landingpad {i8*, i32}
+            cleanup
+  resume { i8*, i32 } %exn
 }
+
+declare i32 @__gxx_personality_v0(...)