mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 19:46:39 +00:00
Move the legalizer tests to the X86 directory because the test uses the x86
codegen. Thanks Galina. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8464fff30b
commit
1e471820b8
@ -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
|
ret <4 x i64> %Y1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
define <4 x i16> @test_arith_10(<4 x i64> %A, <2 x i32> %B, <4 x i32> %C) {
|
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>
|
%F = bitcast <2 x i32> %B to <4 x i16>
|
||||||
%T = add <4 x i16> %F , <i16 0, i16 1, i16 2, i16 3>
|
%T = add <4 x i16> %F , <i16 0, i16 1, i16 2, i16 3>
|
||||||
ret <4 x i16> %T
|
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…
x
Reference in New Issue
Block a user