This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add AVX512 support to X86FastISel::X86SelectSIToFP
ClosedPublic

Authored by craig.topper on Oct 31 2017, 12:07 AM.

Details

Summary

[X86] Teach fast isel to handle i64 sitofp with AVX.

For some reason we only handled i32 sitofp with AVX. But with SSE only we support i64 so we should do the same with AVX.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Oct 31 2017, 12:07 AM
craig.topper retitled this revision from [X86] Add AVX512 support to X86FastISel::fastMaterializeFloatZero. to [X86] Add AVX512 support to X86FastISel::X86SelectSIToFP.Oct 31 2017, 5:26 PM

Remove code that wasn't supposed to be in this review.

RKSimon accepted this revision.Nov 1 2017, 6:04 AM

LGTM - Worth adding tests on i686 targets as well?

This revision is now accepted and ready to land.Nov 1 2017, 6:04 AM
This revision was automatically updated to reflect the committed changes.