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

11 lines
387 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vadduhm
; RUN: llc -verify-machineinstrs < %s -mtriple=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>
}