[llvm-commits] [llvm] r62756 - in /llvm/branches/release_25/test: Assembler/vector-cmp.ll CodeGen/X86/2008-07-23-VSetCC.ll CodeGen/X86/vfcmp.ll Transforms/ConstProp/2008-07-07-VectorCompare.ll

Tanya Lattner tonic at nondot.org
Wed Jan 21 22:54:13 PST 2009


Author: tbrethou
Date: Thu Jan 22 00:54:13 2009
New Revision: 62756

URL: http://llvm.org/viewvc/llvm-project?rev=62756&view=rev
Log:
Disable support for vicmp/vfcmp from the LLVM 2.5 release branch, like we did for LLVM 2.4.  These are slated to be removed (PR3370) and we don't want to have to be backwards compatible with them in the future.
Remove tests.

Removed:
    llvm/branches/release_25/test/Assembler/vector-cmp.ll
    llvm/branches/release_25/test/CodeGen/X86/2008-07-23-VSetCC.ll
    llvm/branches/release_25/test/CodeGen/X86/vfcmp.ll
    llvm/branches/release_25/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll

Removed: llvm/branches/release_25/test/Assembler/vector-cmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_25/test/Assembler/vector-cmp.ll?rev=62755&view=auto

==============================================================================
--- llvm/branches/release_25/test/Assembler/vector-cmp.ll (original)
+++ llvm/branches/release_25/test/Assembler/vector-cmp.ll (removed)
@@ -1,16 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep {global.*vicmp slt}
-; PR2317
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
-target triple = "i686-apple-darwin9.2.2"
-
-define <4 x i32> @foo(<4 x float> %a, <4 x float> %b) nounwind  {
-entry:
-	%cmp = vfcmp olt <4 x float> %a, %b		; <4 x i32> [#uses=1]
-	ret <4 x i32> %cmp
-}
-
-global <4 x i32> vicmp slt ( <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>  <i32 1, i32 2, i32 1, i32 2> ) ;
-
- at B = external global i32;
-
-global <4 x i32> vicmp slt ( <4 x i32> <i32 ptrtoint (i32 * @B to i32), i32 1, i32 1, i32 1>, <4 x i32>  <i32 1, i32 2, i32 1, i32 2> ) ;

Removed: llvm/branches/release_25/test/CodeGen/X86/2008-07-23-VSetCC.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_25/test/CodeGen/X86/2008-07-23-VSetCC.ll?rev=62755&view=auto

==============================================================================
--- llvm/branches/release_25/test/CodeGen/X86/2008-07-23-VSetCC.ll (original)
+++ llvm/branches/release_25/test/CodeGen/X86/2008-07-23-VSetCC.ll (removed)
@@ -1,30 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium
-; PR2575
-
-define void @entry(i32 %m_task_id, i32 %start_x, i32 %end_x) nounwind  {
-	br i1 false, label %bb.nph, label %._crit_edge
-
-bb.nph:		; preds = %bb.nph, %0
-	vicmp sgt <4 x i32> zeroinitializer, < i32 -128, i32 -128, i32 -128, i32 -128 >		; <<4 x i32>>:1 [#uses=1]
-	extractelement <4 x i32> %1, i32 3		; <i32>:2 [#uses=1]
-	lshr i32 %2, 31		; <i32>:3 [#uses=1]
-	trunc i32 %3 to i1		; <i1>:4 [#uses=1]
-	select i1 %4, i32 -1, i32 0		; <i32>:5 [#uses=1]
-	insertelement <4 x i32> zeroinitializer, i32 %5, i32 3		; <<4 x i32>>:6 [#uses=1]
-	and <4 x i32> zeroinitializer, %6		; <<4 x i32>>:7 [#uses=1]
-	bitcast <4 x i32> %7 to <4 x float>		; <<4 x float>>:8 [#uses=1]
-	mul <4 x float> zeroinitializer, %8		; <<4 x float>>:9 [#uses=1]
-	bitcast <4 x float> %9 to <4 x i32>		; <<4 x i32>>:10 [#uses=1]
-	or <4 x i32> %10, zeroinitializer		; <<4 x i32>>:11 [#uses=1]
-	bitcast <4 x i32> %11 to <4 x float>		; <<4 x float>>:12 [#uses=1]
-	mul <4 x float> %12, < float 1.000000e+02, float 1.000000e+02, float 1.000000e+02, float 1.000000e+02 >		; <<4 x float>>:13 [#uses=1]
-	sub <4 x float> %13, < float 1.000000e+02, float 1.000000e+02, float 1.000000e+02, float 1.000000e+02 >		; <<4 x float>>:14 [#uses=1]
-	extractelement <4 x float> %14, i32 3		; <float>:15 [#uses=1]
-	call float @fmaxf( float 0.000000e+00, float %15 )		; <float>:16 [#uses=0]
-	br label %bb.nph
-
-._crit_edge:		; preds = %0
-	ret void
-}
-
-declare float @fmaxf(float, float)

Removed: llvm/branches/release_25/test/CodeGen/X86/vfcmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_25/test/CodeGen/X86/vfcmp.ll?rev=62755&view=auto

==============================================================================
--- llvm/branches/release_25/test/CodeGen/X86/vfcmp.ll (original)
+++ llvm/branches/release_25/test/CodeGen/X86/vfcmp.ll (removed)
@@ -1,13 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
-; PR2620
-
-define void @t(i32 %m_task_id, i32 %start_x, i32 %end_x) nounwind {
-	vfcmp olt <2 x double> zeroinitializer, zeroinitializer		; <<2 x i64>>:1 [#uses=1]
-	extractelement <2 x i64> %1, i32 1		; <i64>:2 [#uses=1]
-	lshr i64 %2, 63		; <i64>:3 [#uses=1]
-	trunc i64 %3 to i1		; <i1>:4 [#uses=1]
-	zext i1 %4 to i8		; <i8>:5 [#uses=1]
-	insertelement <2 x i8> zeroinitializer, i8 %5, i32 1		; <<2 x i8>>:6 [#uses=1]
-	store <2 x i8> %6, <2 x i8>* null
-	ret void
-}

Removed: llvm/branches/release_25/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_25/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll?rev=62755&view=auto

==============================================================================
--- llvm/branches/release_25/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll (original)
+++ llvm/branches/release_25/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll (removed)
@@ -1,28 +0,0 @@
-; RUN: llvm-as < %s | opt -constprop -disable-output
-; PR2529
-define <4 x i32> @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
-}
-
-define <4 x i32> @test2(i32 %argc, i8** %argv) {
-entry:  
-        %foo = vicmp 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
-}
-
-
-define <4 x i32> @test3() {
-       %foo = vfcmp 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
-}
-
-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>
-
-	ret <4 x i32> %foo
-}
-





More information about the llvm-commits mailing list