[PATCH] D75059: [PowerPC][NFC] Remove support for VRSAVE save/restore/update.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 08:49:21 PST 2020


sfertile created this revision.
sfertile added reviewers: hfinkel, jsji, MaskRay, cebowleratibm.
sfertile added a project: PowerPC.
Herald added subscribers: steven.zhang, shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

After removal of Darwin as a PowerPC subtarget, the VRSAVE save/restore/spill/update code is dead, 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 <https://reviews.llvm.org/rG45f008704df2680660ee82a7c3543d3ac9499a99> and inline asm usage <https://reviews.llvm.org/rG175f6e309ab911d43ab21707587615341112f3b5> to show this patch doesn't change the exiting behavior.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75059

Files:
  llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75059.246224.patch
Type: text/x-patch
Size: 25857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/0021d30a/attachment.bin>


More information about the llvm-commits mailing list