commit | 7e3bcd49fc167294b744f34238be3c0d5f03270d | [log] [tgz] |
---|---|---|
author | Rong Xu <xur@google.com> | Wed Mar 15 21:05:24 2017 +0000 |
committer | Rong Xu <xur@google.com> | Wed Mar 15 21:05:24 2017 +0000 |
tree | 09d36c415f1b62f8945ab615b067b9c43f5f48aa | |
parent | e925a388a3171336e840fe032270caff1107129d [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297892 91177308-0d34-0410-b5e6-96231b3b80d8