Debian Codegraph @

llvm/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll

raw
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
4 define <4 x i32> @test() nounwind {
5 ret <4 x i32> < i32 4293066722, i32 4293066722, i32 4293066722, i32 4293066722>
6 }
7
8 define <4 x i32> @test2() nounwind {
9 ret <4 x i32> < i32 1114129, i32 1114129, i32 1114129, i32 1114129>
10 }