aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-02-27 21:59:43 +0000
committerNadav Rotem <nrotem@apple.com>2013-02-27 21:59:43 +0000
commit07cd932c93fc3d552763f3eddced138bffdd9bd9 (patch)
tree7176f3050e863d2ba6c699d4d55045a13e083a6b /lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parentcd275c57afda09f7c0ee98f23d0f243d5dc3fc8b (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/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions