[all-commits] [llvm/llvm-project] 9f374a: [NVPTX][AsmPrinter] Avoid removing globals before ...
chbessonova via All-commits
all-commits at lists.llvm.org
Sat Nov 27 04:04:21 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f374a74c2aabed998a731ac9f14bd8baa4208ba
https://github.com/llvm/llvm-project/commit/9f374a74c2aabed998a731ac9f14bd8baa4208ba
Author: Kristina Bessonova <kbessonova at accesssoftek.com>
Date: 2021-11-27 (Sat, 27 Nov 2021)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
Log Message:
-----------
[NVPTX][AsmPrinter] Avoid removing globals before calling AsmPrinter::doFinalization()
Instead of removing globals from a module, we, it seems, can just override
AsmPrinter::emitGlobalVariable() to do nothing as NVPTXAsmPrinter already
emitted globals by this time and we don't want to do it twice.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D113653
More information about the All-commits
mailing list