summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-09-29 02:03:47 +0000
committerEric Christopher <echristo@gmail.com>2016-09-29 02:03:47 +0000
commitb4b75a531e5e395d479046e9ec6bc05051b821af (patch)
treebf8675efe61a0a44c7a512c3ea97d06baaa6e59f /llvm/lib
parent8e94895555515a4a3a2af0aeed79f2e6232f26d1 (diff)
downloadbcm5719-llvm-b4b75a531e5e395d479046e9ec6bc05051b821af.tar.gz
bcm5719-llvm-b4b75a531e5e395d479046e9ec6bc05051b821af.zip
Update comment about initializing TLOF with a pointer at the previous
line or the other commented out place. llvm-svn: 282673
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp b/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
index c5602d5d45d..5d94d5eefdd 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<TargetLoweringObjectFile &>(getObjFileLowering())
.Initialize(OutContext, TM);
OpenPOWER on IntegriCloud