[PATCH] [LoopAccesses] Change debug messages from LV to LAA
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());
> 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.
More information about the llvm-commits