view test/Transforms/MergeFunc/vectors-and-arrays.ll @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +0900
parents 95c75e76d11b
children
line wrap: on
line source

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