This is an archive of the discontinued LLVM Phabricator instance.

[VE] Change the way to lower selectcc
ClosedPublic

Authored by kaz7 on Oct 16 2022, 5:14 PM.

Details

Summary

Change to use VEISD::CMPI/CMPU/CMPF/CMPQ and VEISD::CMOV in combineSelectCC
for better optimization. Support VEISD::CMPI/CMPU in combineTRUNCATE also
to optimize truncate. Remove obsolete lower patterns from VEInstrInfo.td.
Update regression tests also.

Diff Detail

Event Timeline

kaz7 created this revision.Oct 16 2022, 5:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 16 2022, 5:14 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
kaz7 requested review of this revision.Oct 16 2022, 5:14 PM
efocht accepted this revision.Oct 19 2022, 7:00 AM

Looks good.

This revision is now accepted and ready to land.Oct 19 2022, 7:00 AM
This revision was automatically updated to reflect the committed changes.