1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
2 ; RUN: opt < %s -passes=newgvn | llvm-dis
4 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
5 target triple = "x86_64-unknown-linux-gnu"
6 %struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
7 %struct.re_registers = type { i32, ptr, ptr }
9 define fastcc i32 @byte_re_match_2_internal(ptr nocapture %bufp, ptr %string1, i32 %size1, ptr %string2, i32 %size2, i32 %pos, ptr %regs, i32 %stop) nounwind {
13 succeed_label: ; preds = %bb159
16 bb159: ; preds = %bb664, %bb554, %bb159, %bb159, %bb159, %entry
17 %d.0 = phi ptr [ null, %entry ], [ %d.0, %bb159 ], [ %d.0, %bb554 ], [ %d.0, %bb159 ], [ %d.0, %bb159 ], [ %d.12, %bb664 ] ; <ptr> [#uses=5]
18 switch i32 0, label %bb661 [
20 i32 1, label %succeed_label
28 bb411: ; preds = %bb411, %bb159
31 bb543: ; preds = %bb159
32 br i1 false, label %bb549, label %bb550
34 bb549: ; preds = %bb543
37 bb550: ; preds = %bb543
38 br i1 false, label %bb554, label %bb552
40 bb552: ; preds = %bb550
41 %0 = load i8, ptr %d.0, align 8 ; <i8> [#uses=0]
44 bb554: ; preds = %bb552, %bb550, %bb549
45 br i1 false, label %bb159, label %bb661
47 bb622: ; preds = %bb622, %bb159
50 bb661: ; preds = %bb554, %bb159
51 %d.12 = select i1 false, ptr null, ptr null ; <ptr> [#uses=1]
54 bb664: ; preds = %bb664, %bb661
55 br i1 false, label %bb159, label %bb664