Fix bug in DAGBuilder for getelementptr with expanded vector.
authorAyman Musa <ayman.musa@intel.com>
Wed, 17 Aug 2016 07:52:15 +0000 (07:52 +0000)
committerAyman Musa <ayman.musa@intel.com>
Wed, 17 Aug 2016 07:52:15 +0000 (07:52 +0000)
commit71b43c5c1da23235c3d9dfeedcaa1fa2edd5959d
treec45f66c0909fdbf9f4ac7320b870e5efe00fc30c
parent5f6d73b1fa782d6ecf495242040471d828b2fbed
Fix bug in DAGBuilder for getelementptr with expanded vector.

Replacing the usage of MVT with EVT in case the vector type is expanded.
Differential Revision: https://reviews.llvm.org/D23306

llvm-svn: 278913
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/gep-expanded-vector.ll [new file with mode: 0644]