This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add the passthru operand for nomask vadc/vsbc/vmerge/vfmerge IR intrinsics.
ClosedPublic

Authored by khchen on Feb 13 2022, 7:32 PM.

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.

Diff Detail

Event Timeline

khchen created this revision.Feb 13 2022, 7:32 PM
khchen requested review of this revision.Feb 13 2022, 7:32 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 13 2022, 7:32 PM
khchen retitled this revision from [RISCV] Add the passthru operand for vadc/vsbc/vmerge/vfmerge IR intrinsics. to [RISCV] Add the passthru operand for nomask vadc/vsbc/vmerge/vfmerge IR intrinsics..Feb 14 2022, 8:14 AM
khchen updated this revision to Diff 409156.Feb 15 2022, 11:00 PM

rebase and add more one test.

rogfer01 accepted this revision.Feb 16 2022, 11:38 PM

LGTM. Thanks @khchen!

This revision is now accepted and ready to land.Feb 16 2022, 11:38 PM
This revision was landed with ongoing or failed builds.Feb 17 2022, 2:25 AM
This revision was automatically updated to reflect the committed changes.