This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Masked compares should use a tail agnostic policy.
ClosedPublic

Authored by craig.topper on May 28 2021, 11:21 AM.

Details

Summary

Writes of a mask result are always tail agnostic.

Unfortunately, this seems to have made codegen worse. I can only
think this must be because the vsetvli was acting as some sort
of barrier that prevented some code movement in the scheduler.

Diff Detail

Event Timeline

craig.topper created this revision.May 28 2021, 11:21 AM
craig.topper requested review of this revision.May 28 2021, 11:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 28 2021, 11:21 AM
Herald added a subscriber: MaskRay. · View Herald Transcript
arcbbb accepted this revision.Jun 7 2021, 8:03 PM

LGTM

This revision is now accepted and ready to land.Jun 7 2021, 8:03 PM