mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
e3d661f547
The .ifeqs directive assembles the following code if the quoted string parameters are equal. The strings must be quoted using double quotes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201998 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
243 B
ArmAsm
21 lines
243 B
ArmAsm
// RUN: llvm-mc -triple i386 %s | FileCheck %s
|
|
|
|
.ifeqs "alpha", "alpha"
|
|
.byte 1
|
|
.else
|
|
.byte 0
|
|
.endif
|
|
|
|
// CHECK-NOT: .byte 0
|
|
// CHECK: .byte 1
|
|
|
|
.ifeqs "alpha", "alpha "
|
|
.byte 0
|
|
.else
|
|
.byte 1
|
|
.endif
|
|
|
|
// CHECK-NOT: .byte 0
|
|
// CHECK: .byte 1
|
|
|