llvm-for-llvmta/test/MC/AsmParser/include.ll

14 lines
278 B
LLVM
Raw Permalink Normal View History

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