From 1ad4741e91a618840dec341f5ee8d725d4908323 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 2 Oct 2014 07:13:25 +0000 Subject: [PATCH] [x86] Add a comment clarifying that this test should span all manners of generic DAG combining of shuffles relevant to x86. My plan is to fold a bunch of the other DAG combining test cases into this one, while converting them to use the nice new FileCheck assertion syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218855 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vector-shuffle-combining.ll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/CodeGen/X86/vector-shuffle-combining.ll b/test/CodeGen/X86/vector-shuffle-combining.ll index e60ecb70dec..5a52403394a 100644 --- a/test/CodeGen/X86/vector-shuffle-combining.ll +++ b/test/CodeGen/X86/vector-shuffle-combining.ll @@ -1,4 +1,9 @@ ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -x86-experimental-vector-shuffle-lowering | FileCheck %s --check-prefix=CHECK-SSE2 +; +; Verify that the DAG combiner correctly folds bitwise operations across +; shuffles, nested shuffles with undef, pairs of nested shuffles, and other +; basic and always-safe patterns. Also test that the DAG combiner will combine +; target-specific shuffle instructions where reasonable. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-unknown"