[PATCH] [msan] Run more optimization after MemorySanitizer pass

Evgeniy Stepanov eugenis at google.com
Tue Jan 29 03:29:41 PST 2013



================
Comment at: lib/CodeGen/BackendUtil.cpp:190
@@ +189,3 @@
+  // MemorySanitizer.
+  if (Builder.OptLevel > 0) {
+    PM.add(createEarlyCSEPass());
----------------
Alexey Samsonov wrote:
> I think that some comment mentioning the "difference" made by each optimization would
> be nice.
I don't think explaining the difference made by each pass is possible (and would not be helpful). I can add some aggregate performance numbers tomorrow (need to remeasure).


http://llvm-reviews.chandlerc.com/D189



More information about the cfe-commits mailing list