1 ; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
2 ; RUN: llc %s -O0 -march=sparc -mcpu=leon3 -mattr=+insertnopload -o - | FileCheck %s
4 ; CHECK-LABEL: ld_float_test
5 ; CHECK: ld [%o0+%lo(.LCPI0_0)], %f0
7 define float @ld_float_test() #0 {
9 %f = alloca float, align 4
10 store float 0x3FF3C08320000000, float* %f, align 4
11 %0 = load float, float* %f, align 4
15 ; CHECK-LABEL: ld_i32_test
16 ; CHECK: ld [%o0], %o0
18 define i32 @ld_i32_test(i32 *%p) {
19 %res = load i32, i32* %p