This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add the passthru operand for some RVV nomask unary and nullary intrinsics.
ClosedPublic

Authored by khchen on Jan 26 2022, 8:04 AM.

Details

Summary

The goal is support tail and mask policy in RVV builtins.
We focus on IR part first.
If the passthru operand is undef, we use tail agnostic, otherwise
use tail undisturbed.

My plan is to handle more complex operations in follow-up patches.

Diff Detail

Event Timeline

khchen created this revision.Jan 26 2022, 8:04 AM
khchen requested review of this revision.Jan 26 2022, 8:04 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 26 2022, 8:04 AM
frasercrmck accepted this revision.Jan 27 2022, 2:59 AM

LGTM, thanks.

This revision is now accepted and ready to land.Jan 27 2022, 2:59 AM
jiegec added a subscriber: jiegec.Jan 28 2022, 5:01 PM
This revision was landed with ongoing or failed builds.Feb 15 2022, 11:00 PM
This revision was automatically updated to reflect the committed changes.