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 | 567f886eb030a1efa6d7a87194e504a9f4b39462 (patch) | |
tree | fcc7e05506ee6a36ad6cdae7226e0d71e4688c5a /llvm/lib/IR/Attributes.cpp | |
parent | b045514abfecd72353927aafccbf3b50e7eb25b5 (diff) | |
download | bcm5719-llvm-567f886eb030a1efa6d7a87194e504a9f4b39462.tar.gz bcm5719-llvm-567f886eb030a1efa6d7a87194e504a9f4b39462.zip |
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.
llvm-svn: 171420
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
0 files changed, 0 insertions, 0 deletions