This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add policy operand for masked compare and vmsbf/vmsif/vmsof IR intrinsics.
ClosedPublic

Authored by khchen on Feb 20 2022, 7:43 PM.

Details

Summary

Those operations are updated under a tail agnostic policy, but they
could have mask agnostic or undisturbed.

Diff Detail

Event Timeline

khchen created this revision.Feb 20 2022, 7:43 PM
khchen requested review of this revision.Feb 20 2022, 7:43 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 20 2022, 7:43 PM
craig.topper added inline comments.Feb 20 2022, 8:50 PM
llvm/test/CodeGen/RISCV/rvv/vmsif.ll
34

Should vmsif, vmsof, and vmsbf have ForceTailAgnostic like vmand, vmxor, etc.?

craig.topper added inline comments.Feb 20 2022, 8:59 PM
llvm/test/CodeGen/RISCV/rvv/vmsif.ll
34

Nevermind. Ignore this comment.

rogfer01 accepted this revision.Feb 24 2022, 12:26 AM

LGTM. Thanks @khchen !

This revision is now accepted and ready to land.Feb 24 2022, 12:26 AM
lhtin added a subscriber: lhtin.Mar 6 2022, 1:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2022, 1:06 AM
khchen updated this revision to Diff 416057.Mar 16 2022, 8:34 PM

rebase on main.

This revision was landed with ongoing or failed builds.Mar 22 2022, 7:53 AM
This revision was automatically updated to reflect the committed changes.