[all-commits] [llvm/llvm-project] b9297d: [PowerPC] Do not emit HW loop if the body contains...

nemanja-ibm via All-commits all-commits at lists.llvm.org
Wed Dec 4 14:24:38 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: b9297dcdf2a380a3677307d0ac77983dc0e6a199
      https://github.com/llvm/llvm-project/commit/b9297dcdf2a380a3677307d0ac77983dc0e6a199
  Author: Nemanja Ivanovic <nemanjai at ca.ibm.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

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

  Log Message:
  -----------
  [PowerPC] Do not emit HW loop if the body contains calls to lrint/lround

These two intrinsics are lowered to calls so should prevent the formation of
CTR loops. In a subsequent patch, we will handle all currently known intrinsics
and prevent the formation of HW loops if any unknown intrinsics are encountered.

Differential revision: https://reviews.llvm.org/D68841

(cherry picked from commit 97e36260709c541044f30092b420238511e13e5b)




More information about the All-commits mailing list