[all-commits] [llvm/llvm-project] 5f8645: [PowerPC] fix lowering of SPILL_CRBIT on pwr9 and ...

Paul Murphy via All-commits all-commits at lists.llvm.org
Fri Aug 8 00:24:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f864560a6514bb74ecc1e0c7d3ff8c412228bfe
      https://github.com/llvm/llvm-project/commit/5f864560a6514bb74ecc1e0c7d3ff8c412228bfe
  Author: Paul Murphy <murp at redhat.com>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    M llvm/test/CodeGen/PowerPC/NoCRFieldRedefWhenSpillingCRBIT.mir

  Log Message:
  -----------
  [PowerPC] fix lowering of SPILL_CRBIT on pwr9 and pwr10 (#146424)

If a copy exists between creation of a crbit and a spill, machine-cp
may delete the copy since it seems unaware of the relation between a cr
and crbit. A fix was previously made for the generic ppc64 lowering. It
should be applied to the pwr9 and pwr10 variants too.

Likewise, relax and extend the pwr8 test to verify pwr9 and pwr10
codegen too.

This fixes #143989.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list