summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-05-22 10:40:09 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-05-22 10:40:09 +0000
commit4162d77744b2e181f2db619b76fc112b59c2ef13 (patch)
tree0af132543c7ccd1f5c0154b72147ab3602ff1457 /clang/lib/CodeGen/CGDebugInfo.cpp
parent7ebad4ea81f7481521c01488734fc4962d380d78 (diff)
downloadbcm5719-llvm-4162d77744b2e181f2db619b76fc112b59c2ef13.tar.gz
bcm5719-llvm-4162d77744b2e181f2db619b76fc112b59c2ef13.zip
[TTI] Add uniform/non-uniform constant Pow2 detection to TargetTransformInfo::getInstructionThroughput
This enables us to detect more fast path sdiv cases under cost analysis. This patch also enables us to handle non-uniform-constant pow2 cases for X86 SDIV costs. Found while working on D46276 Future patches can then extend the vectorizers to more fully support non-uniform pow2 cases. Differential Revision: https://reviews.llvm.org/D46637 llvm-svn: 332969
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud