diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-02-27 21:59:43 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-02-27 21:59:43 +0000 |
commit | 07cd932c93fc3d552763f3eddced138bffdd9bd9 (patch) | |
tree | 7176f3050e863d2ba6c699d4d55045a13e083a6b /lib/Support/Unix | |
parent | cd275c57afda09f7c0ee98f23d0f243d5dc3fc8b (diff) |
The FastISEL should be fast. But when we record statistics we use atomic operations to increment the counters.
This patch disables the counters on non-debug builds. This reduces the runtime of SelectionDAGISel::SelectCodeCommon by ~5%.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix')
0 files changed, 0 insertions, 0 deletions