1 ; RUN: llc < %s -march=bpfel | FileCheck %s
3 define i32 @test0(i32 %X) {
10 ; CHECK-LABEL: store_imm:
11 ; CHECK: stw 0(r1), r{{[03]}}
12 ; CHECK: stw 4(r2), 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: ldb r0, 0(r1)