LoopVectorize: Print values instead of pointers in debug output.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 5 May 2013 14:54:52 +0000 (14:54 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 5 May 2013 14:54:52 +0000 (14:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181157 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index c7ff7c3fceb15e02856e10cdc0b5462ca0656703..9a85ee812cf0450a844487f906be1b7f214c19ff 100644 (file)
@@ -2804,8 +2804,8 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
                                         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::canVectorizeMemory() {
                                         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;
       }
     }