1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -passes=newgvn %s -S -o - | FileCheck %s
4 %struct.dipsy = type {}
5 %struct.fluttershy = type { ptr }
6 %struct.patatino = type {}
8 define void @tinkywinky() {
9 ; CHECK-LABEL: @tinkywinky(
11 ; CHECK-NEXT: br label [[BB90:%.*]]
13 ; CHECK-NEXT: br label [[BB90]]
15 ; CHECK-NEXT: store i8 poison, ptr null, align 1
16 ; CHECK-NEXT: br label [[BB138:%.*]]
22 %tmp92 = load ptr, ptr undef, align 8
23 %tmp99 = getelementptr inbounds %struct.patatino, ptr %tmp92
24 %tmp136 = load ptr, ptr undef, align 8
28 %tmp139 = getelementptr inbounds %struct.patatino, ptr %tmp136