mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
dd20299f97
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. llvm-svn: 78423
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
|