This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix vnsrl/vnsra isel patterns that are dropping VL.
ClosedPublic

Authored by craig.topper on May 24 2022, 12:44 PM.

Details

Summary

We were incorrectly using VLMax instead of the passed VL.

Diff Detail

Event Timeline

craig.topper created this revision.May 24 2022, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 12:44 PM
craig.topper requested review of this revision.May 24 2022, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 12:44 PM
craig.topper retitled this revision from [RISCV] Fix vnsrl/vnsra isel patterns what were dropping VL. to [RISCV] Fix vnsrl/vnsra isel patterns that were dropping VL..May 24 2022, 12:45 PM
craig.topper retitled this revision from [RISCV] Fix vnsrl/vnsra isel patterns that were dropping VL. to [RISCV] Fix vnsrl/vnsra isel patterns that are dropping VL..
reames accepted this revision.May 24 2022, 1:21 PM
This revision is now accepted and ready to land.May 24 2022, 1:21 PM
khchen accepted this revision.May 24 2022, 5:45 PM

LGTM!

frasercrmck accepted this revision.May 24 2022, 9:08 PM

Great catch!

This revision was landed with ongoing or failed builds.May 24 2022, 9:39 PM
This revision was automatically updated to reflect the committed changes.