1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/MC/AsmParser/include.ll
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

14 lines
290 B
LLVM

; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s
; REQUIRES: default_triple
module asm ".include \22module.x\22"
define arm_aapcscc void @f() {
entry:
call void asm sideeffect ".include \22function.x\22", ""()
ret void
}
; CHECK: .set MODULE, 1
; CHECK: .set FUNCTION, 1