This is an archive of the discontinued LLVM Phabricator instance.

[X86][AVX] Fold store(extract_element(vtrunc)) to truncated store
ClosedPublic

Authored by RKSimon on Aug 18 2020, 10:49 AM.

Details

Summary

Add handling for X86ISD::VTRUNC nodes that the (lower) truncated bits are then extracted as an element and the element stored out - this can be lowered to a generic truncated store directly.

Diff Detail

Event Timeline

RKSimon created this revision.Aug 18 2020, 10:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2020, 10:49 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
RKSimon requested review of this revision.Aug 18 2020, 10:49 AM
This revision is now accepted and ready to land.Aug 18 2020, 11:51 AM