This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add obsolete aliases of fscsr, frcsr (fssr, frsr)
ClosedPublic

Authored by edward-jones on Oct 3 2019, 7:12 AM.

Details

Summary

These old aliases were renamed, but are still used by some projects (eg newlib).

Diff Detail

Repository
rL LLVM

Event Timeline

edward-jones created this revision.Oct 3 2019, 7:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2019, 7:12 AM

A comment on github by Andrew Waterman suggests that these aliases are expected to be supported by the tools even if they are obsolete. At the very least newlib still seems to use them.

asb added a comment.Oct 3 2019, 7:22 AM

Thanks Ed, could you add some tests to test/MC/RISCV/rvf-aliases-valid.s please?

asb added a reviewer: asb.Oct 3 2019, 7:23 AM

Added tests!

asb accepted this revision.Oct 3 2019, 8:10 AM

LGTM, thanks!

This revision is now accepted and ready to land.Oct 3 2019, 8:10 AM
This revision was automatically updated to reflect the committed changes.