[PATCH] [LoopAccesses] Change debug messages from LV to LAA

Adam Nemet anemet at apple.com
Mon Feb 16 16:54:06 PST 2015


================
Comment at: lib/Analysis/LoopAccessAnalysis.cpp:34
@@ -33,3 +33,3 @@
     DL = I->getDebugLoc();
-  emitOptimizationRemarkAnalysis(TheFunction->getContext(), DEBUG_TYPE,
+  emitOptimizationRemarkAnalysis(TheFunction->getContext(), "loop-vectorize",
                                  *TheFunction, DL, Message.str());
----------------
hfinkel wrote:
> Shouldn't this be a function parameter, so you get the right remarks based on the calling transformation?
> 
I was going to leave that to later when we have multiple clients besides LV but you're right this looks a bit awkward now.  I'll change it.

http://reviews.llvm.org/D7686

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list