mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
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
|
|
}
|
|
|