mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 17:32:49 +00:00
24f5fddbdf
and InlineAsmVariant don't match. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163550 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
383 B
LLVM
15 lines
383 B
LLVM
; RUN: llc < %s -march=x86 | FileCheck %s
|
|
|
|
define i32 @t1() nounwind {
|
|
entry:
|
|
%0 = tail call i32 asm sideeffect inteldialect "mov eax, $1\0Amov $0, eax", "=r,r,~{eax},~{dirflag},~{fpsr},~{flags}"(i32 1) nounwind
|
|
ret i32 %0
|
|
; CHECK: t1
|
|
; CHECK: ## InlineAsm Start
|
|
; CHECK: .intel_syntax
|
|
; CHECK: mov eax, ecx
|
|
; CHECK: mov ecx, eax
|
|
; CHECK: .att_syntax
|
|
; CHECK: ## InlineAsm End
|
|
}
|