[all-commits] [llvm/llvm-project] 042a65: [PowerPC] Guard XSRSP in P8 for FastISel

jsji via All-commits all-commits at lists.llvm.org
Tue Sep 7 08:18:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 042a6564d3656b5268fe9e2e2dad8e9726467710
      https://github.com/llvm/llvm-project/commit/042a6564d3656b5268fe9e2e2dad8e9726467710
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFastISel.cpp
    M llvm/test/CodeGen/PowerPC/fast-isel-rsp.ll

  Log Message:
  -----------
  [PowerPC] Guard XSRSP in P8 for FastISel

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.

Reviewed By: qiucf

Differential Revision: https://reviews.llvm.org/D109365




More information about the All-commits mailing list