linux-packaging-mono/external/llvm/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +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>
}