llvm-mirror/test
Sanjay Patel 3f624d4650 [InstCombine] canonicalize (bitcast (extractelement X)) --> (extractelement(bitcast X))
This change was discussed in D15392. It allows us to remove the fold that was added
in:
http://reviews.llvm.org/r255261

...and it will allow us to generalize this fold:
http://reviews.llvm.org/rL112232

while preserving the order of bitcast + extract that it produces and testing shows
is better handled by the backend.

Note that the existing check for "isVectorTy()" wasn't strong enough in general
and specifically because: x86_mmx. It's not a vector, but it's not vectorizable
either. So here we check VectorType::isValidElementType() directly before 
proceeding with the transform.

llvm-svn: 255433
2015-12-12 16:44:48 +00:00
..
Analysis [X86][SSE] Update the cost table for integer-integer conversions on SSE2/SSE4.1. 2015-12-11 00:31:39 +00:00
Assembler [IR] Reformulate LLVM's EH funclet IR 2015-12-12 05:38:55 +00:00
Bindings
Bitcode [IR] Reformulate LLVM's EH funclet IR 2015-12-12 05:38:55 +00:00
BugPoint
CodeGen [X86][AVX] Tests tidyup 2015-12-12 12:52:52 +00:00
DebugInfo
Examples
ExecutionEngine
Feature [IR] Reformulate LLVM's EH funclet IR 2015-12-12 05:38:55 +00:00
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker Fix another case where the linkage was not set. 2015-12-10 18:44:26 +00:00
LTO
MC
Object
Other
SymbolRewriter
TableGen
tools [PGO] Revert r255365: solution incomplete, not handling lambda yet 2015-12-11 20:23:22 +00:00
Transforms [InstCombine] canonicalize (bitcast (extractelement X)) --> (extractelement(bitcast X)) 2015-12-12 16:44:48 +00:00
Unit
Verifier [IR] Reformulate LLVM's EH funclet IR 2015-12-12 05:38:55 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh