[all-commits] [llvm/llvm-project] 2cd321: [PowerPC] Utilize getReservedRegs to find asm clob...

zhijian lin via All-commits all-commits at lists.llvm.org
Mon Nov 4 09:57:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cd32132dbf5ec4a0e62f8fea0cd48420561e970
      https://github.com/llvm/llvm-project/commit/2cd32132dbf5ec4a0e62f8fea0cd48420561e970
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    M llvm/test/CodeGen/PowerPC/aix-cc-abi-mir.ll
    M llvm/test/CodeGen/PowerPC/aix-cc-abi.ll
    A llvm/test/CodeGen/PowerPC/aix-inline-asm-clobber-warning.ll
    M llvm/test/CodeGen/PowerPC/aix64-csr-alloc.mir
    M llvm/test/CodeGen/PowerPC/inc-of-add.ll
    M llvm/test/CodeGen/PowerPC/inline-asm-clobber-warning.ll
    M llvm/test/CodeGen/PowerPC/ldst-16-byte.mir
    M llvm/test/CodeGen/PowerPC/mflr-store.mir
    M llvm/test/CodeGen/PowerPC/peephole-replaceInstr-after-eliminate-extsw.mir
    M llvm/test/CodeGen/PowerPC/tocdata-non-zero-addend.mir

  Log Message:
  -----------
  [PowerPC] Utilize getReservedRegs to find asm clobberable registers. (#107863)

This patch utilizes getReservedRegs() to find asm clobberable registers.
And to make the result of getReservedRegs() accurate, this patch
implements the todo, which is to make r2 allocatable on AIX for some
leaf functions.



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