[x86] Add a comment clarifying that this test should span all manners of
authorChandler Carruth <chandlerc@gmail.com>
Thu, 2 Oct 2014 07:13:25 +0000 (07:13 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 2 Oct 2014 07:13:25 +0000 (07:13 +0000)
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

index e60ecb70dec6551ff17714207b103b4022dff9e3..5a52403394ae91160e366445e2ec841022a2cdb7 100644 (file)
@@ -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"