1 ; RUN: llc -mtriple=armv7 -o - %s | FileCheck %s
3 define i32 @test_space() minsize {
4 ; CHECK-LABEL: test_space:
5 ; CHECK: ldr {{r[0-9]+}}, [[CPENTRY:.?LCPI[0-9]+_[0-9]+]]
6 ; CHECK: b [[PAST_CP:.?LBB[0-9]+_[0-9]+]]
13 %addr = inttoptr i32 12345678 to i32*
14 %val = load i32, i32* %addr
15 call i32 @llvm.arm.space(i32 10000, i32 undef)
19 declare i32 @llvm.arm.space(i32, i32)