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. llvm-svn: 231810
This commit is contained in:
parent
9d1f2dfec7
commit
42a31e1f5e
|
@ -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) {
|
void NVPTXAsmPrinter::emitSrcInText(StringRef filename, unsigned line) {
|
||||||
std::stringstream temp;
|
std::stringstream temp;
|
||||||
LineReader *reader = this->getReader(filename.str());
|
LineReader *reader = this->getReader(filename.str());
|
||||||
|
|
Loading…
Reference in New Issue