[PowerPC] Remove support for VRSAVE save/restore/update.
authorSean Fertile <sd.fertile@gmail.com>
Wed, 30 Sep 2020 13:56:55 +0000 (09:56 -0400)
committerSean Fertile <sd.fertile@gmail.com>
Wed, 30 Sep 2020 14:05:53 +0000 (10:05 -0400)
commitdfb717da1f794c235b81a985a57dc238c82318e6
treef4797581b21be1728abfd93b811537c78b181699
parent216af81c39d1cc4e90af7b991d517c4c7acc912e
[PowerPC] Remove support for VRSAVE save/restore/update.

After removal of Darwin as a PowerPC subtarget, the VRSAVE
save/restore/spill/update code is no longer needed by any supported
subtarget, so remove it while keeping support for vrsave and related instruction
aliases for inline asm. I've pre-commited tests to document the existing vrsave
handling in relation to @llvm.eh.unwind.init and inline asm usage, as
well as a test which shows a beahviour change on AIX related to
returning vector type as we were wrongly emiting VRSAVE_UPDATE on AIX.
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.h
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.h
llvm/lib/Target/PowerPC/README_ALTIVEC.txt
llvm/test/CodeGen/PowerPC/aix-vector-return.ll