• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: arm-registered-target
2; RUN: opt -module-summary -o %t %s
3; RUN: llvm-bcanalyzer -dump %t | FileCheck %s
4
5target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
6target triple = "thumbv7--linux-android"
7
8module asm "asm:"
9module asm "bx lr"
10
11; NotEligibleToImport
12; CHECK: <PERMODULE {{.*}} op1=16
13define void @f() {
14  call void asm sideeffect "bl asm\0A", ""()
15  ret void
16}
17