llvm-6502/test/Instrumentation/ThreadSanitizer
Kostya Serebryany 2076af0184 [tsan] compile-time instrumentation: do not instrument a read if
a write to the same temp follows in the same BB.
Also add stats printing.

On Spec CPU2006 this optimization saves roughly 4% of instrumented reads
(which is 3% of all instrumented accesses):
Writes            : 161216
Reads             : 446458
Reads-before-write: 18295



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154418 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 18:18:56 +00:00
..
lit.local.cfg [tsan] treat vtable pointer updates in a special way (requires tbaa); fix a bug (forgot to return true after instrumenting); make sure the tsan tests are run 2012-03-26 17:35:03 +00:00
read_before_write.ll [tsan] compile-time instrumentation: do not instrument a read if 2012-04-10 18:18:56 +00:00
tsan_basic.ll
vptr_update.ll [tsan] treat vtable pointer updates in a special way (requires tbaa); fix a bug (forgot to return true after instrumenting); make sure the tsan tests are run 2012-03-26 17:35:03 +00:00