[all-commits] [llvm/llvm-project] 58e19d: [PowerPC] Don't convert Loop to CTR Loop for fp128...
Zhang Kang via All-commits
all-commits at lists.llvm.org
Wed Jun 17 19:55:19 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 58e19d465a13b4ada2f7f3ea0252601dc700b777
https://github.com/llvm/llvm-project/commit/58e19d465a13b4ada2f7f3ea0252601dc700b777
Author: Kang Zhang <shkzhang at cn.ibm.com>
Date: 2020-06-18 (Thu, 18 Jun 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
M llvm/test/CodeGen/PowerPC/ctrloop-fp128.ll
Log Message:
-----------
[PowerPC] Don't convert Loop to CTR Loop for fp128 BinaryOperator
Summary:
For PPC BinaryOperator of fp128 will become libcall, we shouldn't
convert loop to CTR loop if the loop contain libCall.
But currently, in the PPCTTIImpl::mightUseCTR() function, we only deal
with BinaryOperator for ppc_fp128, don't deal with the fp128.
Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D81353
More information about the All-commits
mailing list