22 lines · plain
1; RUN: llc -no-integrated-as < %s2 3; The test uses inline assembly with x86-specific constraints.4; UNSUPPORTED: target=nvptx{{.*}}5 6 7define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality ptr @__gxx_personality_v0 {8entry:9 invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( ptr elementtype( i32) null, ptr elementtype(i32) null )10 to label %.noexc unwind label %cleanup14411 12.noexc: ; preds = %entry13 ret void14 15cleanup144: ; preds = %entry16 %exn = landingpad {ptr, i32}17 cleanup18 resume { ptr, i32 } %exn19}20 21declare i32 @__gxx_personality_v0(...) addrspace(0)22