mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 18:38:37 +00:00

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
|
|
|