diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-06-28 21:03:44 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-06-28 21:03:44 +0000 |
commit | 926dc168c893e1848a18e45fd78f9b99d6f4cd5d (patch) | |
tree | 0ad90a03cdb72e5f0c2ba582b3a2b9b472220710 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | f38ad8efd0f313a51307f700a2699ae57608ddd4 (diff) |
'Promote' vector [su]int_to_fp should widen elements.
Teach vector legalization how to honor Promote for int to float
conversions. The code checking whether to promote the operation knew
to look at the operand, but the actual promotion code didn't. This
fixes that. The operand is promoted up via [zs]ext.
rdar://11762659
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions