summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/GlobalISel/inline-asm.ll
blob: 3dc8f8cb7063b5f2cfc5bc4faac8e723666e9a2e (plain)
1
2
3
4
5
6
7
8
9
10
; 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, x0
; CHECK: {{NO_APP|InlineAsm End}}
define void @test_asm() {
  call void asm sideeffect "mov x0, x0", ""()
  ret void
}
OpenPOWER on IntegriCloud