1 ; RUN: llc < %s -march=bpfel | FileCheck %s
3 define i32 @test0(i32 %X) {
10 ; CHECK-LABEL: store_imm:
11 ; CHECK: *(u32 *)(r1 + 0) = r{{[03]}}
12 ; CHECK: *(u32 *)(r2 + 4) = r{{[03]}}
13 define i32 @store_imm(i32* %a, i32* %b) {
15 store i32 0, i32* %a, align 4
16 %0 = getelementptr inbounds i32, i32* %b, i32 1
17 store i32 0, i32* %0, align 4
21 @G = external global i8
22 define zeroext i8 @loadG() {
23 %tmp = load i8, i8* @G
27 ; CHECK: r0 = *(u8 *)(r1 + 0)