This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Prevent vsetvli insertion from deleting some vsetvli instructions
ClosedPublic

Authored by craig.topper on Jun 15 2023, 2:11 PM.

Details

Summary

If the result register is used, it is not safe to delete.

Diff Detail

Event Timeline

craig.topper created this revision.Jun 15 2023, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2023, 2:11 PM
craig.topper requested review of this revision.Jun 15 2023, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2023, 2:11 PM
reames accepted this revision.Jun 15 2023, 2:53 PM

LGTM

This revision is now accepted and ready to land.Jun 15 2023, 2:53 PM
This revision was landed with ongoing or failed builds.Jun 15 2023, 3:19 PM
This revision was automatically updated to reflect the committed changes.