mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
evaluated to '1' when the argument list was empty (should be '0'). rdar://11057257 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152967 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
277 B
ArmAsm
21 lines
277 B
ArmAsm
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s | FileCheck %s
|
|
|
|
.macro GET var,re2g
|
|
movl \var@GOTOFF(%ebx),\re2g
|
|
.endm
|
|
|
|
|
|
GET is_sse, %eax
|
|
|
|
// CHECK: movl is_sse@GOTOFF(%ebx), %eax
|
|
|
|
.macro bar
|
|
.long $n
|
|
.endm
|
|
|
|
bar 1, 2, 3
|
|
bar
|
|
|
|
// CHECK: .long 3
|
|
// CHECK: .long 0
|