llvm-6502/test
Chandler Carruth 69359ed45b [SDAG] When performing post-legalize DAG combining, run the legalizer
over each node in the worklist prior to combining.

This allows the combiner to produce new nodes which need to go back
through legalization. This is particularly useful when generating
operands to target specific nodes in a post-legalize DAG combine where
the operands are significantly easier to express as pre-legalized
operations. My immediate use case will be PSHUFB formation where we need
to build a constant shuffle mask with a build_vector node.

This also refactors the relevant functionality in the legalizer to
support this, and updates relevant tests. I've spoken to the R600 folks
and these changes look like improvements to them. The avx512 change
needs to be investigated, I suspect there is a disagreement between the
legalizer and the DAG combiner there, but it seems a minor issue so
leaving it to be re-evaluated after this patch.

Differential Revision: http://reviews.llvm.org/D4564

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214020 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-26 05:49:40 +00:00
..
Analysis Add @llvm.assume, lowering, and some basic properties 2014-07-25 21:13:35 +00:00
Assembler
Bindings
Bitcode Move -verify-use-list-order into llvm-uselistorder 2014-07-25 17:13:03 +00:00
BugPoint
CodeGen [SDAG] When performing post-legalize DAG combining, run the legalizer 2014-07-26 05:49:40 +00:00
DebugInfo Reapply "DebugInfo: Don't put fission type units in comdat sections." 2014-07-25 17:11:58 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC [X86] Add comments to clarify some non-obvious lines in the stackmap-nops.ll 2014-07-25 04:50:08 +00:00
Object Add an implementation for llvm-nm’s -print-file-name option (aka -o and -A). 2014-07-24 23:31:52 +00:00
Other
TableGen
tools llvm-vtabledump: A vtable dumper 2014-07-24 23:14:40 +00:00
Transforms Canonicalization for @llvm.assume 2014-07-25 21:45:17 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Move -verify-use-list-order into llvm-uselistorder 2014-07-25 17:13:03 +00:00
lit.cfg Move -verify-use-list-order into llvm-uselistorder 2014-07-25 17:13:03 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh