• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; 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 i64, <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 i64, <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
11  ret void
12}
13