[all-commits] [llvm/llvm-project] 0a19fc: [PowerPC] Disable CTR loops containing operations ...

nemanja-ibm via All-commits all-commits at lists.llvm.org
Tue Dec 29 03:13:27 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a19fc3088f58f9a73fdb39a373cba7885be557f
      https://github.com/llvm/llvm-project/commit/0a19fc3088f58f9a73fdb39a373cba7885be557f
  Author: Nemanja Ivanovic <nemanjai at ca.ibm.com>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    A llvm/test/CodeGen/PowerPC/pr48519.ll

  Log Message:
  -----------
  [PowerPC] Disable CTR loops containing operations on half-precision

On subtargets prior to Power9, conversions to/from half precision
are lowered to libcalls. This makes loops containing such operations
invalid candidates for HW loops.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=48519




More information about the All-commits mailing list