linux-packaging-mono/external/llvm/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll
Xamarin Public Jenkins (auto-signing) 8625704ad8 Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
2018-10-25 08:34:57 +00:00

11 lines
387 B
LLVM

; 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>
}