[llvm] r209107 - Change the blend tests to AVX, not AVX2.

Filipe Cabecinhas me at filcab.net
Sun May 18 21:47:12 PDT 2014


Author: filcab
Date: Sun May 18 23:47:12 2014
New Revision: 209107

URL: http://llvm.org/viewvc/llvm-project?rev=209107&view=rev
Log:
Change the blend tests to AVX, not AVX2.

Added:
    llvm/trunk/test/CodeGen/X86/avx.ll
      - copied, changed from r209064, llvm/trunk/test/CodeGen/X86/avx2.ll
Removed:
    llvm/trunk/test/CodeGen/X86/avx2.ll

Copied: llvm/trunk/test/CodeGen/X86/avx.ll (from r209064, llvm/trunk/test/CodeGen/X86/avx2.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx.ll?p2=llvm/trunk/test/CodeGen/X86/avx.ll&p1=llvm/trunk/test/CodeGen/X86/avx2.ll&r1=209064&r2=209107&rev=209107&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx.ll Sun May 18 23:47:12 2014
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx2 -mattr=+avx2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck %s
 
 define <4 x i32> @blendvb_fallback_v4i32(<4 x i1> %mask, <4 x i32> %x, <4 x i32> %y) {
 ; CHECK-LABEL: @blendvb_fallback_v4i32

Removed: llvm/trunk/test/CodeGen/X86/avx2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx2.ll?rev=209106&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx2.ll (removed)
@@ -1,25 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx2 -mattr=+avx2 | FileCheck %s
-
-define <4 x i32> @blendvb_fallback_v4i32(<4 x i1> %mask, <4 x i32> %x, <4 x i32> %y) {
-; CHECK-LABEL: @blendvb_fallback_v4i32
-; CHECK: vblendvps
-; CHECK: ret
-  %ret = select <4 x i1> %mask, <4 x i32> %x, <4 x i32> %y
-  ret <4 x i32> %ret
-}
-
-define <8 x i32> @blendvb_fallback_v8i32(<8 x i1> %mask, <8 x i32> %x, <8 x i32> %y) {
-; CHECK-LABEL: @blendvb_fallback_v8i32
-; CHECK: vblendvps
-; CHECK: ret
-  %ret = select <8 x i1> %mask, <8 x i32> %x, <8 x i32> %y
-  ret <8 x i32> %ret
-}
-
-define <8 x float> @blendvb_fallback_v8f32(<8 x i1> %mask, <8 x float> %x, <8 x float> %y) {
-; CHECK-LABEL: @blendvb_fallback_v8f32
-; CHECK: vblendvps
-; CHECK: ret
-  %ret = select <8 x i1> %mask, <8 x float> %x, <8 x float> %y
-  ret <8 x float> %ret
-}





More information about the llvm-commits mailing list