summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-12 18:21:52 +0000
committerChris Lattner <sabre@nondot.org>2007-04-12 18:21:52 +0000
commit558385fd93a89a3f2186c5c76b6735cea32ac333 (patch)
tree0d26ae35626db0ce3f11ce2359b1a5618ee59414
parent96b78b0143b23ea1ead567e015332f7d6cd99951 (diff)
downloadllvm-558385fd93a89a3f2186c5c76b6735cea32ac333.tar.gz
llvm-558385fd93a89a3f2186c5c76b6735cea32ac333.tar.bz2
llvm-558385fd93a89a3f2186c5c76b6735cea32ac333.tar.xz
vector compares aren't allowed. It doesn't make sense to have an xfailed
test to remind us of this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35949 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xtest/Feature/packed_cmp.ll57
1 files changed, 0 insertions, 57 deletions
diff --git a/test/Feature/packed_cmp.ll b/test/Feature/packed_cmp.ll
deleted file mode 100755
index 6e1d89e768..0000000000
--- a/test/Feature/packed_cmp.ll
+++ /dev/null
@@ -1,57 +0,0 @@
-; This test checks to make sure that NE and EQ comparisons of
-; vector types work.
-; RUN: llvm-as | llvm-dis > /dev/null -f &&
-; RUN: llvm-as | llvm-dis > %t1.ll
-; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
-; RUN: diff %t1.ll %t2.ll
-; XFAIL: *
-
-%ivec_type = type <4 x i8>
-@ivec1 = constant %ivec_type < i8 1, i8 1, i8 1, i8 1 >
-@ivec2 = constant %ivec_type < i8 0, i8 0, i8 0, i8 0 >
-
-%fvec_type = type <4 x float>
-@fvec1 = constant %fvec_type <float 1.0, float 1.0, float 1.0, float 1.0>
-@fvec2 = constant %fvec_type <float 0.0, float 0.0, float 0.0, float 0.0>
-
-define i1 @ivectest1() {
- %v1 = load %ivec_type* getelementptr(%ivec_type* @ivec1, i32 0)
- %v2 = load %ivec_type* getelementptr(%ivec_type* @ivec2, i32 0)
- %res = icmp ne %ivec_type %v1, %v2
- ret i1 %res
-}
-
-define i1 @ivectest2() {
- %v1 = load %ivec_type* getelementptr(%ivec_type* @ivec1, i32 0)
- %v2 = load %ivec_type* getelementptr(%ivec_type* @ivec2, i32 0)
- %res = icmp eq %ivec_type %v1, %v2
- ret i1 %res
-}
-
-define i1 @fvectest1() {
- %v1 = load %fvec_type* @fvec1
- %v2 = load %fvec_type* @fvec2
- %res = fcmp one %fvec_type %v1, %v2
- ret i1 %res
-}
-
-define i1 @fvectest2() {
- %v1 = load %fvec_type* @fvec1
- %v2 = load %fvec_type* @fvec2
- %res = fcmp oeq %fvec_type %v1, %v2
- ret i1 %res
-}
-
-define i1 @fvectest3() {
- %v1 = load %fvec_type* @fvec1
- %v2 = load %fvec_type* @fvec2
- %res = fcmp une %fvec_type %v1, %v2
- ret i1 %res
-}
-
-define i1 @fvectest4() {
- %v1 = load %fvec_type* @fvec1
- %v2 = load %fvec_type* @fvec2
- %res = fcmp ueq %fvec_type %v1, %v2
- ret i1 %res
-}