[all-commits] [llvm/llvm-project] 97e362: [PowerPC] Do not emit HW loop if the body contains...
nemanja-ibm via All-commits
all-commits at lists.llvm.org
Mon Oct 28 15:23:37 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 97e36260709c541044f30092b420238511e13e5b
https://github.com/llvm/llvm-project/commit/97e36260709c541044f30092b420238511e13e5b
Author: Nemanja Ivanovic <nemanjai at ca.ibm.com>
Date: 2019-10-28 (Mon, 28 Oct 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
More information about the All-commits
mailing list