From: Eric Christopher Date: Thu, 29 Sep 2016 02:03:47 +0000 (+0000) Subject: Update comment about initializing TLOF with a pointer at the previous X-Git-Tag: llvmorg-4.0.0-rc1~8662 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4b75a531e5e395d479046e9ec6bc05051b821af;p=platform%2Fupstream%2Fllvm.git Update comment about initializing TLOF with a pointer at the previous line or the other commented out place. llvm-svn: 282673 --- diff --git a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp b/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp index c5602d5..5d94d5e 100644 --- a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp @@ -844,7 +844,9 @@ bool NVPTXAsmPrinter::doInitialization(Module &M) { // We need to call the parent's one explicitly. //bool Result = AsmPrinter::doInitialization(M); - // Initialize TargetLoweringObjectFile. + // Initialize TargetLoweringObjectFile since we didn't do in + // AsmPrinter::doInitialization either right above or where it's commented out + // below. const_cast(getObjFileLowering()) .Initialize(OutContext, TM);