mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
c114ed711e
I can clean this up a bit more and do way with the TheCondState and just use the top element on the TheCondStack if not empty. Also may tweak the code around ParseConditionalAssemblyDirectives() to simplify the AsmParser code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78423 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
201 B
ArmAsm
13 lines
201 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s -I %p | FileCheck %s
|
|
|
|
# CHECK: .byte 2
|
|
.if 1+2
|
|
.if 1-1
|
|
.byte 1
|
|
.elseif 2+2
|
|
.byte 1+1
|
|
.else
|
|
.byte 0
|
|
.endif
|
|
.endif
|