view llvm/test/Transforms/MergeFunc/vector-GEP-crash.ll @ 225:f7655407a6ba

remove unnecessary files
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 19 Jul 2021 03:48:36 +0900
parents 1d019706d866
children 1f2b6ac9f198
line wrap: on
line source

; RUN: opt -mergefunc -disable-output < %s
; This used to cause a crash when compairing the GEPs

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

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