Home | History | Annotate | Download | only in MergeFunc
      1 ; REQUIRES: asserts
      2 ; RUN: opt -mergefunc < %s -disable-output -stats | not grep merged
      3 ; This used to crash with an assert.
      4 
      5 define <2 x i8> @v1(<2 x i8> %x) {
      6   ret <2 x i8> %x
      7 }
      8 
      9 define <4 x i8> @v2(<4 x i8> %x) {
     10   ret <4 x i8> %x
     11 }
     12 
     13 define [2 x i8] @a1([2 x i8] %x) {
     14   ret [2 x i8] %x
     15 }
     16 
     17 define [4 x i8] @a2([4 x i8] %x) {
     18   ret [4 x i8] %x
     19 }
     20