• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -O0 -stop-after=finalize-isel -o - %s | FileCheck %s
2
3target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
4target triple = "aarch64"
5
6; CHECK-LABEL: name: foo
7; CHECK: INLINEASM {{.*}}, !0
8define void @foo() {
9  call void asm sideeffect "nowayisthisavalidinstruction", "r"(i32 0), !srcloc !0
10  ret void
11}
12
13; CHECK-LABEL: name: bar
14; CHECK: INLINEASM {{.*}}, !1
15define void @bar() {
16  call void asm sideeffect "nowayisthisavalidinstruction", ""(), !srcloc !1
17  ret void
18}
19
20!0 = !{i32 23}
21!1 = !{i32 91}
22