[llvm] r181157 - LoopVectorize: Print values instead of pointers in debug output.
Benjamin Kramer
benny.kra at googlemail.com
Sun May 5 07:54:52 PDT 2013
Author: d0k
Date: Sun May 5 09:54:52 2013
New Revision: 181157
URL: http://llvm.org/viewvc/llvm-project?rev=181157&view=rev
Log:
LoopVectorize: Print values instead of pointers in debug output.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=181157&r1=181156&r2=181157&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sun May 5 09:54:52 2013
@@ -2804,8 +2804,8 @@ bool LoopVectorizationLegality::canVecto
Inst,
WriteObjects,
MaxByteWidth)) {
- DEBUG(dbgs() << "LV: Found a possible write-write reorder:"
- << *UI <<"\n");
+ DEBUG(dbgs() << "LV: Found a possible write-write reorder:" << **UI
+ << "\n");
return false;
}
@@ -2848,8 +2848,8 @@ bool LoopVectorizationLegality::canVecto
Inst,
WriteObjects,
MaxByteWidth)) {
- DEBUG(dbgs() << "LV: Found a possible read-write reorder:"
- << *UI <<"\n");
+ DEBUG(dbgs() << "LV: Found a possible read-write reorder:" << **UI
+ << "\n");
return false;
}
}
More information about the llvm-commits
mailing list