commit | 5650e8ff9073049ea2ef27f881e301ebafb94c49 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Fri Oct 12 21:59:55 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Fri Oct 12 21:59:55 2018 +0000 |
tree | 0336d34cb313290f56c86608722bfb89b0a28e12 | |
parent | c206978e8af6632a2f32f2b02e544ca122be480f [diff] |
[LegalizeVectorTypes] When widening the result of a bitcast from a scalar type, use a scalar_to_vector to turn the scalar into a vector intead of a build vector full of mostly undefs. This is more consistent with what we usually do and matches some code X86 custom emits in some cases that I think I can cleanup. The MIPS test change just looks to be an instruction ordering change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344422 91177308-0d34-0410-b5e6-96231b3b80d8