[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / 2007-12-17-InvokeAsm.ll
1 ; RUN: llc -no-integrated-as < %s
2
3 define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality i32 (...)* @__gxx_personality_v0 {
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}
13             cleanup
14   resume { i8*, i32 } %exn
15 }
16
17 declare i32 @__gxx_personality_v0(...)