llvm-6502/test/Transforms/MergeFunc/vectors-and-arrays.ll
2010-07-16 06:31:12 +00:00

19 lines
329 B
LLVM

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