brintos

brintos / llvm-project-archived public Read only

0
0
Text · 430 B · 791d630 Raw
20 lines · plain
1; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi -verify-machineinstrs2; Just shouldn't crash, PR283483 4%C = type { ptr }5 6define void @repro(ptr %this, i32 %a) {7  %a_align1 = and i32 %a, -40968  %a_and = and i32 %a, 40959  %a_align2 = or i32 %a_and, 409610 11  call void @use(i32 %a_align1)12 13  %addptr = getelementptr inbounds i8, ptr null, i32 %a_align214  store ptr %addptr, ptr %this, align 415 16  ret void17}18 19declare void @use(i32)20