brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 320f37a Raw
34 lines · plain
1; RUN: opt -passes='loop-mssa(loop-instsimplify,loop-simplifycfg,licm,simple-loop-unswitch)' -enable-nontrivial-unswitch -verify-memoryssa %s -disable-output2; REQUIRES: asserts3 4%0 = type { i24, i32, i32, i8 }5 6@g_1077 = external dso_local local_unnamed_addr global [4 x [3 x [2 x { i8, i8, i8, i8, i8, i8, i8, i8, i32 }]]], align 47 8define void @func_22() {9bb:10  br label %bb1311 12bb13:                                             ; preds = %bb38, %bb31, %bb13  %i15 = load i32, ptr undef, align 414  %i16 = trunc i32 %i15 to i815  %i18 = load ptr, ptr undef, align 816  %i19 = icmp eq ptr %i18, null17  br i1 %i19, label %bb31, label %safe_mod_func_uint8_t_u_u.exit18 19bb31:                                             ; preds = %bb1320  %i25 = load i8, ptr getelementptr inbounds ([4 x [3 x [2 x { i8, i8, i8, i8, i8, i8, i8, i8, i32 }]]], ptr @g_1077, i64 0, i64 2, i64 2, i64 1, i32 6), align 221  %i28 = or i8 %i25, %i1622  store i8 %i28, ptr getelementptr inbounds ([4 x [3 x [2 x { i8, i8, i8, i8, i8, i8, i8, i8, i32 }]]], ptr @g_1077, i64 0, i64 2, i64 2, i64 1, i32 6), align 223  %i30 = icmp ne i8 %i28, 024  %i37.not = icmp eq i8 %i16, 025  %or.cond = or i1 %i37.not, %i3026  br i1 %or.cond, label %bb13, label %bb3827 28safe_mod_func_uint8_t_u_u.exit:                   ; preds = %bb1329  br label %bb3830 31bb38:                                             ; preds = %safe_mod_func_uint8_t_u_u.exit, %bb3132  br label %bb1333}34