mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Remove the vicmp and vfcmp instructions. Because we never had a release with
these instructions, no autoupgrade or backwards compatibility support is provided. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
; RUN: llvm-as < %s | opt -constprop -disable-output
|
||||
; PR2529
|
||||
define <4 x i32> @test1(i32 %argc, i8** %argv) {
|
||||
define <4 x i1> @test1(i32 %argc, i8** %argv) {
|
||||
entry:
|
||||
%foo = vicmp slt <4 x i32> undef, <i32 14, i32 undef, i32 undef, i32 undef>
|
||||
ret <4 x i32> %foo
|
||||
%foo = icmp slt <4 x i32> undef, <i32 14, i32 undef, i32 undef, i32 undef>
|
||||
ret <4 x i1> %foo
|
||||
}
|
||||
|
||||
define <4 x i32> @test2(i32 %argc, i8** %argv) {
|
||||
define <4 x i1> @test2(i32 %argc, i8** %argv) {
|
||||
entry:
|
||||
%foo = vicmp slt <4 x i32> <i32 undef, i32 undef, i32 undef, i32
|
||||
%foo = icmp slt <4 x i32> <i32 undef, i32 undef, i32 undef, i32
|
||||
undef>, <i32 undef, i32 undef, i32 undef, i32 undef>
|
||||
ret <4 x i32> %foo
|
||||
ret <4 x i1> %foo
|
||||
}
|
||||
|
||||
|
||||
define <4 x i32> @test3() {
|
||||
%foo = vfcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float
|
||||
define <4 x i1> @test3() {
|
||||
%foo = fcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float
|
||||
undef>, <float 1.0, float 1.0, float 1.0, float undef>
|
||||
ret <4 x i32> %foo
|
||||
ret <4 x i1> %foo
|
||||
}
|
||||
|
||||
define <4 x i32> @test4() {
|
||||
%foo = vfcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float 0.0>, <float 1.0, float 1.0, float 1.0, float 0.0>
|
||||
define <4 x i1> @test4() {
|
||||
%foo = fcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float 0.0>, <float 1.0, float 1.0, float 1.0, float 0.0>
|
||||
|
||||
ret <4 x i32> %foo
|
||||
ret <4 x i1> %foo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user