commit | 46646572f76513e39bcdd0e06c66668ec1caf5bc | [log] [tgz] |
---|---|---|
author | Nadav Rotem <nadav.rotem@intel.com> | Sun Jul 15 20:39:08 2012 +0000 |
committer | Nadav Rotem <nadav.rotem@intel.com> | Sun Jul 15 20:39:08 2012 +0000 |
tree | 69e68f064dc6bf83e13e6eba969feaaa65a89cc7 | |
parent | d896e242993fd04c013dda8987c232cdcab63dd4 [diff] |
Fix a bug in the scalarization of BUILD_VECTOR. BUILD_VECTOR elements may be wider than the output element type. Make sure to trunc them if needed. Together with Michael Kuperstein <michael.m.kuperstein@intel.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160235 91177308-0d34-0410-b5e6-96231b3b80d8