mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
72c71c83fc
The .ifeqs directive assembles the following code if the quoted string parameters are equal. The strings must be quoted using double quotes. llvm-svn: 201998
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
|
|
|