mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
6f729d601c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48762 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
186 B
LLVM
9 lines
186 B
LLVM
; RUN: llvm-as < %s | llc -march=x86
|
|
; PR825
|
|
|
|
define i64 @test() {
|
|
%tmp.i5 = call i64 asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <i64> [#uses=1]
|
|
ret i64 %tmp.i5
|
|
}
|
|
|