aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/MergeFunc/Stats/vectors-and-arrays.ll
blob: dc64a0858ba845a1dbdc23736478d96c503c2d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; 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
}