summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-04-28 14:30:54 +0000
committerTeresa Johnson <tejohnson@google.com>2017-04-28 14:30:54 +0000
commit51177295c485abc6b7967a385ab85b274f3878a2 (patch)
tree5849563b13760fe910eed31b4b134007d07c9e7b /llvm/lib/CodeGen/MachineCombiner.cpp
parent7ae9419dc0b73cd27a629a5039a41225616b611d (diff)
downloadbcm5719-llvm-51177295c485abc6b7967a385ab85b274f3878a2.tar.gz
bcm5719-llvm-51177295c485abc6b7967a385ab85b274f3878a2.zip
Memory intrinsic value profile optimization: Avoid divide by 0
Summary: Skip memops if the total value profiled count is 0, we can't correctly scale up the counts and there is no point anyway. Reviewers: davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32624 llvm-svn: 301645
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud