diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-08-06 21:43:15 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-08-06 21:43:15 +0000 |
| commit | ecc1e5d476581ea85777656e17e3c2a61a874566 (patch) | |
| tree | 4230a51c55cfecbe66cccf30a548c46e7e414fdc /clang/lib/CodeGen/SwiftCallingConv.cpp | |
| parent | 906e727972d1f4873d006630d6aa6795a7025a1c (diff) | |
| download | bcm5719-llvm-ecc1e5d476581ea85777656e17e3c2a61a874566.tar.gz bcm5719-llvm-ecc1e5d476581ea85777656e17e3c2a61a874566.zip | |
[X86] Don't allow combineSIntToFP to create v2i32 vectors after type legalization.
If we're after type legalization we should only be trying to turn
v2i64 into v2i32. So bitcast to v4i32, shuffle the even elements
together. Then use X86ISD::CVTSI2P. The alternative is to leave
the v2i64 type alone and let it scalarized. Hopefully keeping
it packed is better.
Fixes PR42905.
llvm-svn: 368091
Diffstat (limited to 'clang/lib/CodeGen/SwiftCallingConv.cpp')
0 files changed, 0 insertions, 0 deletions

