This is an archive of the discontinued LLVM Phabricator instance.

Disable statistics on Release builds and move tests that depend on -stats.
ClosedPublic

Authored by jvoung on Mar 1 2013, 2:51 PM.

Details

Summary

Statistics are still available in Release+Asserts (or any +Asserts builds),
and they can also be turned on with LLVM_ENABLE_STATS.

Also change some of the FastISel stats that were moved under DEBUG()
back out of DEBUG(), since stats are disabled across the board now.

Many tests depend on grepping "-stats" output. Move those into
a orig_dir/Stats/. so that they can be marked as unsupported
when building without statistics.

Diff Detail

Event Timeline

jvoung updated this revision to Unknown Object (????).Mar 1 2013, 3:17 PM

Left some debug code in previous version. Take Eli's suggestion of note in help.

jvoung updated this revision to Unknown Object (????).Mar 1 2013, 3:30 PM

Add target checks to target Stats/lit.local.cfg

jvoung closed this revision.Mar 8 2013, 2:59 PM

Closed by commit rL176733 (authored by @jvoung).

test/Transforms/TailCallElim/Stats/dup_tail.ll