diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-01-02 22:13:01 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-01-02 22:13:01 +0000 |
commit | d40758b24ebab5777131533d9369e707fc852594 (patch) | |
tree | ce952299e65b4a86221f9f378b6cec58639b7b23 /.arcconfig | |
parent | 5bf3a28b36c5d95ad3732b749db651630027b09c (diff) | |
download | external_llvm-d40758b24ebab5777131533d9369e707fc852594.zip external_llvm-d40758b24ebab5777131533d9369e707fc852594.tar.gz external_llvm-d40758b24ebab5777131533d9369e707fc852594.tar.bz2 |
DAGCombiner: Avoid generating illegal vector INT_TO_FP nodes
DAGCombiner::reduceBuildVecConvertToConvertBuildVec() was making two
mistakes:
1. It was checking the legality of scalar INT_TO_FP nodes and then generating
vector nodes.
2. It was passing the result value type to
TargetLoweringInfo::getOperationAction() when it should have been
passing the value type of the first operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.arcconfig')
0 files changed, 0 insertions, 0 deletions