From b4b75a531e5e395d479046e9ec6bc05051b821af Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 29 Sep 2016 02:03:47 +0000 Subject: [PATCH] Update comment about initializing TLOF with a pointer at the previous line or the other commented out place. llvm-svn: 282673 --- llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.7.4