[NFC]][PowerPC] Remove unused intrinsic for old CTR loop pass
authorKang Zhang <shkzhang@cn.ibm.com>
Wed, 17 Jun 2020 07:06:46 +0000 (07:06 +0000)
committerKang Zhang <shkzhang@cn.ibm.com>
Wed, 17 Jun 2020 07:06:46 +0000 (07:06 +0000)
commitc2574dc9f70755e151fb55a91d7778176f3ca696
tree01b97a9380efc39b4125c9468f5c7c59b588692c
parent564821ad65b6dae0c23f23ddcdfb997a0c5aab66
[NFC]][PowerPC] Remove unused intrinsic for old CTR loop pass

Summary:

In the patch D62907 the PPC CTRLoops pass has been replaced by Generic
Hardware Loop pass, and it has imported some new intrinsic for Generic
Hardware Loop.

The old intrinsic used in PPC CTRLoops int_ppc_mtctr and
int_ppc_is_decremented_ctr_nonzero is been replaced by
int_set_loop_iterations and loop_decrement.

This patch is to remove above unused two instrinsic.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D81539
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/CodeGen/PowerPC/no-dup-of-bdnz.ll