1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/Transforms/MergeFunc/vector-GEP-crash.ll
Matt Arsenault f1d5de4884 Fix crash when looking up the addrspace of GEPs with vector types
Patch by Björn Steinbrink

llvm-svn: 216930
2014-09-02 18:47:54 +00:00

13 lines
313 B
LLVM

; 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
}