This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Don't create LMUL=8 pseudo instructions for ternary widening arithmetic instructions
ClosedPublic

Authored by craig.topper on Jan 21 2021, 5:58 PM.

Details

Summary

These instructions produce 2*SEW result so the input can't have
an LMUL=8 or the result would need a non-existant LMUL=16. So
only create pseudos for LMUL up to 4.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 21 2021, 5:58 PM
craig.topper requested review of this revision.Jan 21 2021, 5:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 21 2021, 5:58 PM
Herald added a subscriber: MaskRay. · View Herald Transcript
arcbbb accepted this revision.Jan 21 2021, 6:49 PM

LGTM. Thanks!

This revision is now accepted and ready to land.Jan 21 2021, 6:49 PM
This revision was landed with ongoing or failed builds.Jan 21 2021, 7:30 PM
This revision was automatically updated to reflect the committed changes.