diff options
author | Luke Drummond <luke.drummond@codeplay.com> | 2022-12-19 14:59:12 +0000 |
---|---|---|
committer | Luke Drummond <luke.drummond@codeplay.com> | 2022-12-23 12:10:49 +0000 |
commit | 22bf4a7e89c07255856366f2710974642e482920 (patch) | |
tree | 12904160659b25e363f4edaeb9b10c4d3d83e881 | |
parent | 391cb541223bb0d41620eb5e25c107563dc3e12c (diff) | |
download | llvm-22bf4a7e89c07255856366f2710974642e482920.zip llvm-22bf4a7e89c07255856366f2710974642e482920.tar.gz llvm-22bf4a7e89c07255856366f2710974642e482920.tar.bz2 |
[NFC][NVPTX] Remove dead comment and commented code
A confusing comment after the last return statement in
`NVPTXAsmPrinter::doFinalization` referred to a preprocessor macro
(NVISA) that has never existed since the NVPTX backend has been a part
of upstream llvm - as far as the pickaxe will tell me anyway. Thus I've
removed it.
Differential Revision: https://reviews.llvm.org/D140399
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp b/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp index da1662e..076f394 100644 --- a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp @@ -913,15 +913,6 @@ bool NVPTXAsmPrinter::doFinalization(Module &M) { TS->outputDwarfFileDirectives(); return ret; - - //bool Result = AsmPrinter::doFinalization(M); - // Instead of calling the parents doFinalization, we may - // clone parents doFinalization and customize here. - // Currently, we if NVISA out the EmitGlobals() in - // parent's doFinalization, which is too intrusive. - // - // Same for the doInitialization. - //return Result; } // This function emits appropriate linkage directives for |