1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/AsmParser/assignment.s
Krzysztof Parzyszek 43f8619548 Use .set instead of = when printing assignment in assembly output
On Hexagon "x = y" is a syntax used in most instructions, and is not
treated as a directive.

Differential Revision: https://reviews.llvm.org/D44256

llvm-svn: 328635
2018-03-27 16:44:41 +00:00

23 lines
339 B
ArmAsm

# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
# CHECK: TEST0:
# CHECK: .set a, 0
TEST0:
a = 0
# CHECK: TEST1:
# CHECK: .set b, 0
TEST1:
.set b, 0
# CHECK: .globl _f1
# CHECK: .set _f1, 0
.globl _f1
_f1 = 0
# CHECK: .globl _f2
# CHECK: .set _f2, 0
.globl _f2
.set _f2, 0