[cfe-commits] r153356 - /cfe/trunk/lib/CodeGen/BackendUtil.cpp
Kostya Serebryany
kcc at google.com
Fri Mar 23 16:25:24 PDT 2012
Author: kcc
Date: Fri Mar 23 18:25:23 2012
New Revision: 153356
URL: http://llvm.org/viewvc/llvm-project?rev=153356&view=rev
Log:
use EP_OptimizerLast instead of EP_ScalarOptimizerLate for ThreadSanitizer
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=153356&r1=153355&r2=153356&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Fri Mar 23 18:25:23 2012
@@ -168,7 +168,7 @@
}
if (LangOpts.ThreadSanitizer) {
- PMBuilder.addExtension(PassManagerBuilder::EP_ScalarOptimizerLate,
+ PMBuilder.addExtension(PassManagerBuilder::EP_OptimizerLast,
addThreadSanitizerPass);
PMBuilder.addExtension(PassManagerBuilder::EP_EnabledOnOptLevel0,
addThreadSanitizerPass);
More information about the cfe-commits
mailing list