1; RUN: llc -mtriple=armv7 -o - %s | FileCheck %s 2 3define 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]+]] 7 8; CHECK: [[CPENTRY]]: 9; CHECK-NEXT: 12345678 10 11; CHECK: [[PAST_CP]]: 12; CHECK: .zero 10000 13 %addr = inttoptr i32 12345678 to i32* 14 %val = load i32, i32* %addr 15 call i32 @llvm.arm.space(i32 10000, i32 undef) 16 ret i32 %val 17} 18 19declare i32 @llvm.arm.space(i32, i32) 20