[all-commits] [llvm/llvm-project] 7158f2: [CostModel] Unify getCFInstrCost
Sam Parker via All-commits
all-commits at lists.llvm.org
Tue Jun 16 00:43:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7158f285a8679626b9801bb2ace60d093d1cebff
https://github.com/llvm/llvm-project/commit/7158f285a8679626b9801bb2ace60d093d1cebff
Author: Sam Parker <sam.parker at arm.com>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M llvm/lib/Analysis/TargetTransformInfo.cpp
Log Message:
-----------
[CostModel] Unify getCFInstrCost
Have TTI::getInstructionThroughput call getUserCost for Br, Ret and
PHI. This now means that eveything in getInstructionThroughput is
handled by getUserCost.
Differential Revision: https://reviews.llvm.org/D79849
More information about the All-commits
mailing list