mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 12:30:57 +00:00
NVPTX: Remove copy of LLVMInitializeNVPTXAsmPrinter.
If anyone is using this for some strange reason, LLVMInitializeNVPTXAsmPrinter does exactly the same thing and is what other LLVM tools are calling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231810 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b3db42f63
commit
5b536e4af0
@ -2085,13 +2085,6 @@ void NVPTXAsmPrinter::printMemOperand(const MachineInstr *MI, int opNum,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Force static initialization.
|
||||
extern "C" void LLVMInitializeNVPTXBackendAsmPrinter() {
|
||||
RegisterAsmPrinter<NVPTXAsmPrinter> X(TheNVPTXTarget32);
|
||||
RegisterAsmPrinter<NVPTXAsmPrinter> Y(TheNVPTXTarget64);
|
||||
}
|
||||
|
||||
void NVPTXAsmPrinter::emitSrcInText(StringRef filename, unsigned line) {
|
||||
std::stringstream temp;
|
||||
LineReader *reader = this->getReader(filename.str());
|
||||
|
Loading…
Reference in New Issue
Block a user