This test is already covered by llvm/trunk/test/CodeGen/X86/vsel.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2011-09-08 08:43:23 +00:00
parent cbdd2d10ba
commit 4b36e07487

View File

@ -1,15 +0,0 @@
; Test that vectors are scalarized/lowered correctly.
; RUN: llc -march=x86 -promote-elements < %s | FileCheck %s
; This test is the poster-child for integer-element-promotion.
; Until this feature is complete, we mark this test as expected to fail.
; CHECK: vector_code
; CHECK: blend
; CHECK: ret
define <4 x float> @vector_code(<4 x i64> %A, <4 x i64> %B, <4 x float> %R0, <4 x float> %R1 ) {
%C = icmp eq <4 x i64> %A, %B
%K = xor <4 x i1> <i1 1, i1 1, i1 1, i1 1>, %C
%D = select <4 x i1> %K, <4 x float> %R1, <4 x float> %R0
ret <4 x float> %D
}