blob: 22747224a193ee2b2e12bbff894f827979f089d7 [file] [log] [blame]
Jan Wen Voung6dc30762013-03-12 16:27:52 +00001; REQUIRES: asserts
Nick Lewycky375efe32010-07-16 06:31:12 +00002; RUN: opt -mergefunc < %s -disable-output -stats | not grep merged
3; This used to crash with an assert.
4
5define <2 x i8> @v1(<2 x i8> %x) {
6 ret <2 x i8> %x
7}
8
9define <4 x i8> @v2(<4 x i8> %x) {
10 ret <4 x i8> %x
11}
12
13define [2 x i8] @a1([2 x i8] %x) {
14 ret [2 x i8] %x
15}
16
17define [4 x i8] @a2([4 x i8] %x) {
18 ret [4 x i8] %x
19}