This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Drop earlyclobber constraint from vwadd(u).wx, vwsub(u).wx, vfwadd.wf and vfwsub.wf.
ClosedPublic

Authored by craig.topper on Apr 9 2021, 10:42 AM.

Details

Summary

The first source has the same EEW as the destination and the other
source is a scalar so the overlap constraints don't apply to
the unmasked version.

For the masked version we have a constraint that the destination
can't be V0 so that covers the only overlap issue there.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 9 2021, 10:42 AM
craig.topper requested review of this revision.Apr 9 2021, 10:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2021, 10:42 AM
Herald added a subscriber: MaskRay. · View Herald Transcript
khchen accepted this revision.Apr 11 2021, 5:58 AM

Good catch! LGTM.

This revision is now accepted and ready to land.Apr 11 2021, 5:58 AM