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.
Paths
| Differential D109365
[PowerPC] Guard XSRSP in P8 for FastISel ClosedPublic Authored by jsji on Sep 7 2021, 8:13 AM.
Details
Summary This is exposed by enabling FastIsel on 64bit AIX. The fix is to guard the generation in P8 only.
Diff Detail
Event TimelineThis 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 Closed by commit rG042a6564d365: [PowerPC] Guard XSRSP in P8 for FastISel (authored by jsji). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 371082 llvm/lib/Target/PowerPC/PPCFastISel.cpp
llvm/test/CodeGen/PowerPC/fast-isel-rsp.ll
|