1 ; RUN: llc -mtriple=arm-eabi -relocation-model=static -arm-promote-constant < %s | FileCheck %s
3 @const1 = private unnamed_addr constant i32 0, align 4
4 @const2 = private unnamed_addr constant i32 0, align 4
6 ; const1 and const2 both need labels for debug info, but will be coalesced into
7 ; a single constpool entry
13 define void @test1() {
14 %1 = load i32, i32* @const1, align 4
16 %2 = load i32, i32* @const2, align 4