diff options
author | Rong Xu <xur@google.com> | 2017-03-15 21:05:24 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2017-03-15 21:05:24 +0000 |
commit | d709b0fe95110a0ebb2bb35566e9e11550bb19d5 (patch) | |
tree | cee664eddb225a24fde0f05c9c742bf34feeef67 /llvm/lib/Support/BinaryStreamWriter.cpp | |
parent | b99247e608f7036727371602b82b768a53b1a01c (diff) | |
download | llvm-d709b0fe95110a0ebb2bb35566e9e11550bb19d5.zip llvm-d709b0fe95110a0ebb2bb35566e9e11550bb19d5.tar.gz llvm-d709b0fe95110a0ebb2bb35566e9e11550bb19d5.tar.bz2 |
[PGO] Minor cleanup for count instruction in SelectInstVisitor.
Summary:
NSIs can be double-counted by different operations in
SelectInstVisitor. Sink the the update to VM_counting mode only.
Also reset the value for each counting operation.
Reviewers: davidxl
Reviewed By: davidxl
Subscribers: xur, llvm-commits
Differential Revision: https://reviews.llvm.org/D30999
llvm-svn: 297892
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions