[PowerPC][Future] Remove "unskipableSimplifyCode()" in PPCMIPeephole.cpp
authorVictor Huang <wei.huang@ibm.com>
Mon, 27 Apr 2020 19:23:39 +0000 (14:23 -0500)
committerVictor Huang <wei.huang@ibm.com>
Mon, 27 Apr 2020 19:57:02 +0000 (14:57 -0500)
commit64d44ae7c2de8c42058cf14d6decc7f5c3db5ebf
treed0f29d4623e03b352479fca9b7754fbda49f018f
parent54fe6c9599f0d22fbc249edbfec8055c49559ee4
[PowerPC][Future] Remove "unskipableSimplifyCode()" in PPCMIPeephole.cpp

"unskipableSimplifyCode()" was added to handle unsafe BL8_NOTOC instruction
when TOC was not completely removed. The function is not needed after confirming
TOC pointer is not used in a function that uses PC-Relative addressing.

Differential Revision: https://reviews.llvm.org/D78517
llvm/lib/Target/PowerPC/PPCMIPeephole.cpp