vector-GEP-crash.ll 323 B

123456789101112
  1. ; RUN: opt -mergefunc -disable-output < %s
  2. ; This used to cause a crash when compairing the GEPs
  3. define void @foo(<2 x i64*>) {
  4. %tmp = getelementptr i64, <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
  5. ret void
  6. }
  7. define void @bar(<2 x i64*>) {
  8. %tmp = getelementptr i64, <2 x i64*> %0, <2 x i64> <i64 0, i64 0>
  9. ret void
  10. }