Revert r138606 until LowerInvoke has been converted to the new EH scheme.
[oota-llvm.git] / test / CodeGen / Generic / 2007-12-17-InvokeAsm.ll
1 ; RUN: llc < %s
2
3 define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
4 entry:
5   invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
6       to label %.noexc unwind label %cleanup144
7
8 .noexc:         ; preds = %entry
9   ret void
10
11 cleanup144:             ; preds = %entry
12   %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
13             cleanup
14   unwind
15 }
16
17 declare i32 @__gxx_personality_v0(...)