This is an archive of the discontinued LLVM Phabricator instance.

[X86][SLH] Add VEX and EVEX conversion instructions to isDataInvariantLoad
ClosedPublic

Authored by craig.topper on Jul 13 2018, 12:05 PM.

Details

Summary

-Drop the intrinsic versions of conversion instructions. These should be handled when we do vectors. They shouldn't show up in scalar code.
-Add the float<->double conversions which were missing.
-Add the AVX512 and AVX version of the conversion instructions including the unsigned integer conversions unique to AVX512

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Jul 13 2018, 12:05 PM
chandlerc accepted this revision.Jul 13 2018, 3:00 PM

LGTM.

Please feel free to fix encodings and such w/ post-commit review.

lib/Target/X86/X86SpeculativeLoadHardening.cpp
941–950 ↗(On Diff #155450)

clang-format will ruin this beautiful layout I suspect.

This revision is now accepted and ready to land.Jul 13 2018, 3:00 PM
This revision was automatically updated to reflect the committed changes.