23 lines · plain
1; RUN: opt < %s -passes=instcombine | llvm-dis2; PR34523define i128 @test(i64 %A, i64 %B, i1 %C, i128 %Z, i128 %Y, ptr %P, ptr %Q) {4entry:5 %tmp2 = trunc i128 %Z to i646 %tmp4 = trunc i128 %Y to i647 store i64 %tmp2, ptr %P8 store i64 %tmp4, ptr %Q9 %x = sub i64 %tmp2, %tmp410 %c = sub i64 %tmp2, %tmp411 %tmp137 = zext i1 %C to i6412 %tmp138 = sub i64 %c, %tmp13713 br label %T14 15T:16 %G = phi i64 [%tmp138, %entry], [%tmp2, %Fal]17 %F = zext i64 %G to i12818 ret i128 %F19 20Fal:21 br label %T22}23