[all-commits] [llvm/llvm-project] b5e1fc: [PowerPC] don't check CTR clobber in hardware loop...

Chen Zheng via All-commits all-commits at lists.llvm.org
Sun Dec 4 17:54:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5e1fc19da9527b96665bc4937f96a60092e77c6
      https://github.com/llvm/llvm-project/commit/b5e1fc19da9527b96665bc4937f96a60092e77c6
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/test/CodeGen/PowerPC/branch-opt.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-fp128.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-sh.ll
    M llvm/test/CodeGen/PowerPC/disable-ctr-ppcf128.ll
    M llvm/test/CodeGen/PowerPC/hardware-loops-crash.ll
    M llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
    M llvm/test/CodeGen/PowerPC/pr36292.ll
    M llvm/test/CodeGen/PowerPC/pr43527.ll
    M llvm/test/CodeGen/PowerPC/pr48519.ll
    M llvm/test/CodeGen/PowerPC/pr55463.ll
    M llvm/test/CodeGen/PowerPC/spe.ll
    M llvm/test/CodeGen/PowerPC/tocSaveInPrologue.ll

  Log Message:
  -----------
  [PowerPC] don't check CTR clobber in hardware loop insertion pass

We added a new post-isel CTRLoop pass in D122125. That pass will expand
the hardware loop related intrinsic to CTR loop or normal loop based
on the loop context. So we don't need to conservatively check the CTR
clobber now on the IR level.

Reviewed By: lkail

Differential Revision: https://reviews.llvm.org/D135847




More information about the All-commits mailing list