Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [DAG] Fold extract_vector_elt (scalar_to_vector), K to undef (K != 0) (details)
Commit 5f5f4785648959dfbb5c88d183816f85a0974561 by llvm-dev
[DAG] Fold extract_vector_elt (scalar_to_vector), K to undef (K != 0)
This was unconditionally folding this to the source operand, even if the
access was out of bounds. Use undef instead of the extract is not the
first element.
This helps with some cases where 3-vectors are legalized and avoids
processing the 4th component.
Original Patch by: arsenm (Matt Arsenault)
Differential Revision:
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll