summaryrefslogtreecommitdiffstats
path: root/test/Transforms/MergeFunc/vector-GEP-crash.ll
blob: a1eefa0bc98330db1e20c95be2d49073b81c736f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: opt -mergefunc -disable-output < %s
; This used to cause a crash when compairing the GEPs

define void @foo(<2 x i64*>) {
  %tmp = getelementptr <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
  ret void
}

define void @bar(<2 x i64*>) {
  %tmp = getelementptr <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
  ret void
}