2017-01-20 07:59:35 +08:00
|
|
|
; RUN: llc -mtriple=aarch64 -global-isel -global-isel-abort=2 %s -o - | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK-LABEL: test_asm:
|
|
|
|
; CHECK: {{APP|InlineAsm Start}}
|
2017-03-10 07:36:26 +08:00
|
|
|
; CHECK: mov x0, {{x[0-9]+}}
|
2017-01-20 07:59:35 +08:00
|
|
|
; CHECK: {{NO_APP|InlineAsm End}}
|
|
|
|
define void @test_asm() {
|
2017-03-10 07:36:26 +08:00
|
|
|
call void asm sideeffect "mov x0, $0", "r"(i64 42)
|
2017-01-20 07:59:35 +08:00
|
|
|
ret void
|
|
|
|
}
|