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 %struct.TypHeader = type { i32, ptr, [3 x i8], i8 }
6 define ptr @LtRec(ptr %hdL, ptr %hdR) {
8 br i1 false, label %bb556.preheader, label %bb534.preheader
10 bb534.preheader: ; preds = %entry
13 bb556.preheader: ; preds = %entry
14 %tmp56119 = getelementptr %struct.TypHeader, ptr %hdR, i32 0, i32 0 ; <ptr> [#uses=1]
15 %tmp56220 = load i32, ptr %tmp56119 ; <i32> [#uses=0]
16 br i1 false, label %bb.nph23, label %bb675.preheader
18 bb.nph23: ; preds = %bb556.preheader
21 bb656: ; preds = %bb675.outer, %bb656
22 %tmp678 = load i32, ptr %tmp677 ; <i32> [#uses=0]
23 br i1 false, label %bb684, label %bb656
25 bb684: ; preds = %bb675.outer, %bb656
26 br i1 false, label %bb924.preheader, label %bb675.outer
28 bb675.outer: ; preds = %bb675.preheader, %bb684
29 %tmp67812 = load i32, ptr %tmp67711 ; <i32> [#uses=0]
30 br i1 false, label %bb684, label %bb656
32 bb675.preheader: ; preds = %bb556.preheader
33 %tmp67711 = getelementptr %struct.TypHeader, ptr %hdR, i32 0, i32 0 ; <ptr> [#uses=1]
34 %tmp677 = getelementptr %struct.TypHeader, ptr %hdR, i32 0, i32 0 ; <ptr> [#uses=1]
37 bb924.preheader: ; preds = %bb684