llvm-6502/test/Instrumentation/ThreadSanitizer
Kostya Serebryany cff60c1409 [tsan] two more compile-time optimizations:
- don't isntrument reads from constant globals.
Saves ~1.5% of instrumented instructions on CPU2006
(counting static instructions, not their execution).
- don't insrument reads from vtable (which is a global constant too).
Saves ~5%.

I did not measure the run-time impact of this,
but it is certainly non-negative.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154444 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 22:29:17 +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
read_from_global.ll [tsan] two more compile-time optimizations: 2012-04-10 22:29:17 +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