summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-10-13 14:19:48 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-10-13 14:19:48 +0000
commit6cdb5a6f9663ae62e5d1f140f8e3698163f3c3fa (patch)
tree9c5e45fe9668e405acac90c0cbb178f34ef1975f /llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
parentcb59b5257c488da28e495d6c9803332326488dab (diff)
downloadbcm5719-llvm-6cdb5a6f9663ae62e5d1f140f8e3698163f3c3fa.tar.gz
bcm5719-llvm-6cdb5a6f9663ae62e5d1f140f8e3698163f3c3fa.zip
[LV] Avoid rounding errors for predicated instruction costs
This patch modifies the cost calculation of predicated instructions (div and rem) to avoid the accumulation of rounding errors due to multiple truncating integer divisions. The calculation for predicated stores will be addressed in a follow-on patch since we currently don't scale the cost of predicated stores by block probability. Differential Revision: https://reviews.llvm.org/D25333 llvm-svn: 284123
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantPoolValue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud