mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Move the legalizer tests to the X86 directory because the test uses the x86
codegen. Thanks Galina. llvm-svn: 132706
This commit is contained in:
parent
fbeb14925f
commit
0f5e672008
@ -82,10 +82,17 @@ define <4 x i64> @test_arith_9(<4 x i64> %A, <2 x i32> %B, <4 x i16> %C) {
|
||||
ret <4 x i64> %Y1
|
||||
}
|
||||
|
||||
|
||||
define <4 x i16> @test_arith_10(<4 x i64> %A, <2 x i32> %B, <4 x i32> %C) {
|
||||
%F = bitcast <2 x i32> %B to <4 x i16>
|
||||
%T = add <4 x i16> %F , <i16 0, i16 1, i16 2, i16 3>
|
||||
ret <4 x i16> %T
|
||||
}
|
||||
|
||||
|
||||
; Simple tests to check saving/loading from memory
|
||||
define <4 x i16> @test_mem_0(<4 x i64> %A, <2 x i32> %B, <4 x i32> %C) {
|
||||
%F = bitcast <2 x i32> %B to <4 x i16>
|
||||
%T = add <4 x i16> %F , <i16 0, i16 1, i16 2, i16 3>
|
||||
ret <4 x i16> %T
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user