This is an archive of the discontinued LLVM Phabricator instance.

[VE] Change the way to lower select
ClosedPublic

Authored by kaz7 on Oct 13 2022, 7:40 AM.

Details

Summary

Change to use VEISD::CMOV in combineSelect for better optimization.
Support VEISD::CMOV in combineTRUNCATE also to optimize trancate.
Merge functions to handle condition codes to VE.h. And add basic
CMOV patterns to VEInstrInfo.td. Update regression tests also.

Diff Detail

Event Timeline

kaz7 created this revision.Oct 13 2022, 7:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2022, 7:40 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
kaz7 requested review of this revision.Oct 13 2022, 7:40 AM
efocht accepted this revision.Oct 13 2022, 6:32 PM

LGTM

This revision is now accepted and ready to land.Oct 13 2022, 6:32 PM
This revision was landed with ongoing or failed builds.Oct 14 2022, 4:49 PM
This revision was automatically updated to reflect the committed changes.