This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Guard XSRSP in P8 for FastISel
ClosedPublic

Authored by jsji on Sep 7 2021, 8:13 AM.

Details

Reviewers
qiucf
shchenz
Group Reviewers
Restricted Project
Commits
rG042a6564d365: [PowerPC] Guard XSRSP in P8 for FastISel
Summary

This is exposed by enabling FastIsel on 64bit AIX.
We are generating XSRSP regardless of the arch,
which may be wrong when -mcpu=pwr7.

The fix is to guard the generation in P8 only.

Diff Detail

Event Timeline

jsji created this revision.Sep 7 2021, 8:13 AM
jsji requested review of this revision.Sep 7 2021, 8:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2021, 8:13 AM
qiucf accepted this revision as: qiucf.Sep 7 2021, 8:15 AM

Thanks for the fix. LGTM

This revision is now accepted and ready to land.Sep 7 2021, 8:15 AM
This revision was landed with ongoing or failed builds.Sep 7 2021, 8:18 AM
This revision was automatically updated to reflect the committed changes.