source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/thumb-litpool.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 474 bytes
Line 
1; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=static -o - | FileCheck %s
2; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=pic -o - | FileCheck %s
3
4@var = global i8 zeroinitializer
5
6declare void @callee(i8*)
7
8define void @foo() minsize {
9; CHECK-LABEL: foo:
10; CHECK: ldr {{r[0-7]}}, LCPI0_0
11  call void @callee(i8* @var)
12  call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3},~{r4},~{r5},~{r6},~{r7}"()
13  call void @callee(i8* @var)
14  ret void
15}
Note: See TracBrowser for help on using the repository browser.