Backport 2 revert commits to 17.0
Based on a comment on https://reviews.llvm.org/D155957, revert the 2 recent patches and cleanup the existing code for the PPC64 toc-pseudo peepholes before adding to it.
@llvm/issue-subscribers-backend-powerpc
/cherry-pick ce658829c9ebd23066f4f0aa5dc686350e5f9ba4 cef56b9318e37e9c47fd356c76c9da522bc8c122
https://github.com/llvm/llvm-project/issues/64716 was updated just before opening this issue. I'll keep that one opened and close this one instead.
/branch llvm/llvm-project-release-prs/issue64869
/branch llvm/llvm-project-release-prs/issue64869
/pull-request llvm/llvm-project-release-prs#623
These were already backported in https://github.com/llvm/llvm-project/issues/64716, not sure why this got reopened.