8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
11 lines
299 B
LLVM
11 lines
299 B
LLVM
; RUN: llc -mtriple=aarch64 -global-isel -global-isel-abort=2 %s -o - | FileCheck %s
|
|
|
|
; CHECK-LABEL: test_asm:
|
|
; CHECK: {{APP|InlineAsm Start}}
|
|
; CHECK: mov x0, {{x[0-9]+}}
|
|
; CHECK: {{NO_APP|InlineAsm End}}
|
|
define void @test_asm() {
|
|
call void asm sideeffect "mov x0, $0", "r"(i64 42)
|
|
ret void
|
|
}
|