SuccessChanges

Summary

  1. [PPC][AIX] Add vector callee saved registers for AIX extended vector ABI (details)
  2. [DAG][PowerPC] Fix dropped `nsw` flag in `SimplifySetCC` by adding `doesNodeExist` helper (details)
Commit be7d425edc64714564a079657ed4230e39c2cc90 by zarko
[PPC][AIX] Add vector callee saved registers for AIX extended vector ABI

This patch is the initial patch for support of the AIX extended vector ABI.  The extended ABI treats vector registers V20-V31 as non-volatile and we add them as callee saved registers in this patch.

Reviewed By: sfertile

Differential Revision: https://reviews.llvm.org/D88676
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-explicit-section.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-reference-func-addr-const.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data-sections.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-textdisassembly.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix32-crsave.mir (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-AppendingLinkage.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-func-align.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-block-address.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-internal.ll (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-return55.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ppc32-i64-to-float-conv.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-space.ll (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-csr-vector.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-func-dsc-gen.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-reloc-large.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-crsave.mir (diff)
The file was modifiedllvm/include/llvm/Target/TargetMachine.h (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td (diff)
Commit 8e6d92026c624386b85675a4664e2666225fcfac by lkail
[DAG][PowerPC] Fix dropped `nsw` flag in `SimplifySetCC` by adding `doesNodeExist` helper

`SimplifySetCC` invokes `getNodeIfExists` without passing `Flags` argument and `getNodeIfExists` uses a default `SDNodeFlags` to intersect the original flags, as a consequence, flags like `nsw` is dropped. Added a new helper function `doesNodeExist` to check if a node exists without modifying its flags.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D89938
The file was modifiedllvm/test/CodeGen/PowerPC/setcc-sub-flag.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)