[PATCH] D29165: NVPTX: Trivial cleanups of NVPTXInferAddressSpaces

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 17:13:45 PST 2017


jlebar accepted this revision.
jlebar added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp:472
     // address spaces of its operands.
-    DEBUG(dbgs() << "Updating the address space of\n"
-                 << "  " << *V << "\n");
+    DEBUG(dbgs() << "Updating the address space of\n  " << *V << '\n');
     Optional<unsigned> NewAS = updateAddressSpace(*V, *InferredAddrSpace);
----------------
I don't really care, but I have to admit that I find '\n' in place of "\n" kind of a strange change to make.


https://reviews.llvm.org/D29165





More information about the llvm-commits mailing list