view test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll @ 83:60c9769439b8 LLVM3.7

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 54457678186b
children 1172e4bd9c6f
line wrap: on
line source

; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vadduhm
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vsubuhm

define <4 x i32> @test() nounwind {
	ret <4 x i32> < i32 4293066722, i32 4293066722, i32 4293066722, i32 4293066722>
}

define <4 x i32> @test2() nounwind {
	ret <4 x i32> < i32 1114129, i32 1114129, i32 1114129, i32 1114129>
}