Skip to content
Commit 00b75dd3 authored by Nadav Rotem's avatar Nadav Rotem
Browse files

The FastISEL should be fast. But when we record statistics we use atomic...

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%.

llvm-svn: 176214
parent 9aa8e0b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment