xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vadduhm
2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vsubuhm
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine <4 x i32> @test() nounwind {
5*9880d681SAndroid Build Coastguard Worker	ret <4 x i32> < i32 4293066722, i32 4293066722, i32 4293066722, i32 4293066722>
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdefine <4 x i32> @test2() nounwind {
9*9880d681SAndroid Build Coastguard Worker	ret <4 x i32> < i32 1114129, i32 1114129, i32 1114129, i32 1114129>
10*9880d681SAndroid Build Coastguard Worker}
11