llvm/test/MC/AsmParser/include.ll
Krzysztof Parzyszek 9273bb3570 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328635 91177308-0d34-0410-b5e6-96231b3b80d8
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