[llvm-commits] [llvm] r139288 - /llvm/trunk/test/CodeGen/Generic/promote-integers.ll

Nadav Rotem nadav.rotem at intel.com
Thu Sep 8 01:43:24 PDT 2011


Author: nadav
Date: Thu Sep  8 03:43:23 2011
New Revision: 139288

URL: http://llvm.org/viewvc/llvm-project?rev=139288&view=rev
Log:
This test is already covered by llvm/trunk/test/CodeGen/X86/vsel.ll

Removed:
    llvm/trunk/test/CodeGen/Generic/promote-integers.ll

Removed: llvm/trunk/test/CodeGen/Generic/promote-integers.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/promote-integers.ll?rev=139287&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/promote-integers.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/promote-integers.ll (removed)
@@ -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
-}
-





More information about the llvm-commits mailing list