blob: a1eefa0bc98330db1e20c95be2d49073b81c736f [file] [log] [blame]
Matt Arsenault9d412ed2014-09-02 18:47:54 +00001; RUN: opt -mergefunc -disable-output < %s
2; This used to cause a crash when compairing the GEPs
3
4define void @foo(<2 x i64*>) {
5 %tmp = getelementptr <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
6 ret void
7}
8
9define void @bar(<2 x i64*>) {
10 %tmp = getelementptr <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
11 ret void
12}