[all-commits] [llvm/llvm-project] c2574d: [NFC]][PowerPC] Remove unused intrinsic for old CT...

Zhang Kang via All-commits all-commits at lists.llvm.org
Wed Jun 17 00:08:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c2574dc9f70755e151fb55a91d7778176f3ca696
      https://github.com/llvm/llvm-project/commit/c2574dc9f70755e151fb55a91d7778176f3ca696
  Author: Kang Zhang <shkzhang at cn.ibm.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/test/CodeGen/PowerPC/no-dup-of-bdnz.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list