aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/dollar-name-asm.ll
blob: cc649f24e09e5487b0cacf470a34bd01e60222f5 (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -mtriple=x86_64 | FileCheck %s --check-prefix=ATT
; RUN: llc < %s -mtriple=x86_64 -output-asm-variant=1 | FileCheck %s --check-prefix=INTEL

module asm "mov ($foo), %eax"

; ATT:   movl ($foo), %eax
; INTEL: mov eax, dword ptr [$foo]