llvm/lib
Sanjay Patel 70bc85f677 [InstCombine] shrink truncated insertelement into undef vector
This is the 2nd part of solving:
http://lists.llvm.org/pipermail/llvm-dev/2017-February/110293.html

D30123 moves the trunc ahead of the shuffle, and this moves the trunc ahead of the insertelement. 
We're limiting this transform to undef rather than any constant to avoid backend problems.

Differential Revision: https://reviews.llvm.org/D30137


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297242 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-07 23:27:14 +00:00
..
Analysis
AsmParser
Bitcode
CodeGen Recommit: [globalisel] Change LLT constructor string into an LLT-based object that knows how to generate it. 2017-03-07 23:20:35 +00:00
DebugInfo
Demangle
ExecutionEngine
Fuzzer [fuzzer] Don't crash if LLVMFuzzerMutate was called by CustomCrossOver 2017-03-07 20:37:38 +00:00
IR
IRReader
LibDriver
LineEditor
Linker
LTO
MC
Object
ObjectYAML [ObjectYAML] Fix issue with DWARF2 AddrSize 8 2017-03-07 21:34:35 +00:00
Option
Passes
ProfileData
Support Recommit: [globalisel] Change LLT constructor string into an LLT-based object that knows how to generate it. 2017-03-07 23:20:35 +00:00
TableGen
Target Recommit: [globalisel] Change LLT constructor string into an LLT-based object that knows how to generate it. 2017-03-07 23:20:35 +00:00
Transforms [InstCombine] shrink truncated insertelement into undef vector 2017-03-07 23:27:14 +00:00
XRay
CMakeLists.txt
LLVMBuild.txt