diff options
| author | Teresa Johnson <tejohnson@google.com> | 2017-04-28 14:30:54 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2017-04-28 14:30:54 +0000 |
| commit | 51177295c485abc6b7967a385ab85b274f3878a2 (patch) | |
| tree | 5849563b13760fe910eed31b4b134007d07c9e7b /llvm/lib/CodeGen/LiveRangeEdit.cpp | |
| parent | 7ae9419dc0b73cd27a629a5039a41225616b611d (diff) | |
| download | bcm5719-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/LiveRangeEdit.cpp')
0 files changed, 0 insertions, 0 deletions

