brintos

brintos / llvm-project-archived public Read only

0
0
Text · 356 B · c4fdb82 Raw
20 lines · plain
1; REQUIRES: asserts2; RUN: opt -passes=mergefunc < %s -disable-output -stats | not grep merged3; This used to crash with an assert.4 5define <2 x i8> @v1(<2 x i8> %x) {6  ret <2 x i8> %x7}8 9define <4 x i8> @v2(<4 x i8> %x) {10  ret <4 x i8> %x11}12 13define [2 x i8] @a1([2 x i8] %x) {14  ret [2 x i8] %x15}16 17define [4 x i8] @a2([4 x i8] %x) {18  ret [4 x i8] %x19}20