1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Transforms/MergeFunc/vectors-and-arrays.ll
2013-03-12 16:27:52 +00:00

20 lines
349 B
LLVM

; REQUIRES: asserts
; RUN: opt -mergefunc < %s -disable-output -stats | not grep merged
; This used to crash with an assert.
define <2 x i8> @v1(<2 x i8> %x) {
ret <2 x i8> %x
}
define <4 x i8> @v2(<4 x i8> %x) {
ret <4 x i8> %x
}
define [2 x i8] @a1([2 x i8] %x) {
ret [2 x i8] %x
}
define [4 x i8] @a2([4 x i8] %x) {
ret [4 x i8] %x
}