This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Change GPRMemAtomic to GPRMemZeroOffset for general usage
ClosedPublic

Authored by tangxingxin1008 on Feb 17 2022, 1:04 AM.

Details

Summary
Not only some AMO instructions but also other instructions need to
process (${gpr}) or 0(${gpr}), where the 0 is be silently ignored.

This patch does some changes for general usage.

Signed-off-by: Eric Tang <eric.tang@starfivetech.com>

Diff Detail

Event Timeline

tangxingxin1008 requested review of this revision.Feb 17 2022, 1:04 AM
asb accepted this revision.Feb 23 2022, 8:49 AM

Sorry, I thought I'd already reviewed this but I must have failed to hit submit. Thanks for splitting this out, LGTM.

This revision is now accepted and ready to land.Feb 23 2022, 8:49 AM
This revision was landed with ongoing or failed builds.Feb 27 2022, 10:08 PM
This revision was automatically updated to reflect the committed changes.