xref: /llvm-project/llvm/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll (revision e2d2ce9ff1fabe751d3990af4bfa82cbf4998d41)
1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vadduhm
2; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vsubuhm
3
4define <4 x i32> @test() nounwind {
5	ret <4 x i32> < i32 4293066722, i32 4293066722, i32 4293066722, i32 4293066722>
6}
7
8define <4 x i32> @test2() nounwind {
9	ret <4 x i32> < i32 1114129, i32 1114129, i32 1114129, i32 1114129>
10}
11