This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Add some InstAlias for mtspr/mfspr instructions.
ClosedPublic

Authored by ZhangKang on Apr 6 2020, 1:19 AM.

Details

Summary

We have defined MTSPR/MFSPR and MTSPR8/MFSPR8, but we only defined mtspr/mfspr InstAlias for some MTSPR/MFSPR.
This patch is to add the InstAlias definitions for MTSPR8/MFSPR8, and add the some new mtspr/mfspr InstAlias we may use.

Diff Detail

Event Timeline

ZhangKang created this revision.Apr 6 2020, 1:19 AM
steven.zhang accepted this revision.May 25 2020, 6:21 PM

LGTM. Thank you for adding this.

This revision is now accepted and ready to land.May 25 2020, 6:21 PM
This revision was automatically updated to reflect the committed changes.