1 ; RUN: opt -inline -early-cse -earlycse-debug-hash < %s
2 ; This test used to crash (PR35469).
5 %t = bitcast void ()* @func2 to void ()*
10 define void @func2() {
11 %t = bitcast void ()* @func3 to void ()*
16 define void @func3() {
17 %t = bitcast void ()* @func4 to void ()*
22 define void @func4() {
23 br i1 undef, label %left, label %right
26 %t = bitcast void ()* @func5 to void ()*
34 define void @func5() {
35 %t = bitcast void ()* @func6 to void ()*
40 define void @func6() {
41 %t = bitcast void ()* @func2 to void ()*
46 define void @func7() {
47 %t = bitcast void ()* @func3 to void ()*
48 tail call void @func8(void()* %t)
52 define void @func8(void()* %f) {