mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
43f8619548
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
23 lines
339 B
ArmAsm
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
|
|
|