1 ; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi -verify-machineinstrs
2 ; Just shouldn't crash, PR28348
6 define void @repro(ptr %this, i32 %a) {
7 %a_align1 = and i32 %a, -4096
8 %a_and = and i32 %a, 4095
9 %a_align2 = or i32 %a_and, 4096
11 call void @use(i32 %a_align1)
13 %addptr = getelementptr inbounds i8, ptr null, i32 %a_align2
14 store ptr %addptr, ptr %this, align 4
19 declare void @use(i32)