brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · d2402aa Raw
55 lines · plain
1; RUN: llc < %s2; XFAIL: target=avr{{.*}}3 4; llc built with address sanitizer crashes because of a dangling node pointer5; oss-fuzz -  DAGCombiner::useDivRem (5011)6 7define void @f() {8BB:9  %A19 = alloca ptr10  %C18 = icmp ugt i1 true, false11  %L13 = load i8, ptr undef12  %L10 = load i8, ptr undef13  %B12 = and i8 %L13, %L1014  %B35 = and i8 %B12, %L1015  %L2 = load ptr, ptr undef16  %L23 = load i66, ptr %L217  %B38 = urem i8 %B35, %B1218  %B9 = ashr i66 %L23, %L2319  %C11 = icmp sge i8 %B38, %B3520  %A4 = alloca i6621  %G4 = getelementptr i66, ptr %A4, i1 true22  %L6 = load i66, ptr %G423  %B21 = urem i1 %C11, true24  %B1 = mul i66 %B9, %L2325  %B5 = udiv i8 %L10, %L1326  %B22 = udiv i66 %B9, %B127  %C29 = icmp ult i32 -1, 028  store ptr undef, ptr undef29  store i1 %C29, ptr undef30  br label %BB131 32BB1:                                              ; preds = %BB33  %G8 = getelementptr i66, ptr undef, i16 3276734  %G43 = getelementptr i66, ptr undef, i66 -135  %L20 = load i1, ptr undef36  %B7 = and i66 %L6, %L637  %B30 = sdiv i66 -36893488147419103232, -138  %B16 = urem i66 %B22, %L639  %G47 = getelementptr i66, ptr %G8, i66 %B1640  store i66 %B7, ptr %G4741  store i8 %B5, ptr undef42  %C5 = icmp ult i1 %C18, %L2043  store i66 %B30, ptr %G4744  store ptr undef, ptr %A1945  store i1 %C5, ptr undef46  store i1 %C11, ptr undef47  store ptr %G43, ptr undef48  store i1 %B21, ptr undef49  %G59 = getelementptr i1, ptr undef, i1 false50  %G61 = getelementptr i66, ptr %G8, i1 %L2051  store i1 %L20, ptr %G5952  store ptr %G61, ptr undef53  ret void54}55