[PATCH] D45784: [DEBUG_INFO, NVPTX] Fix relocation info.

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 16:19:54 PDT 2018


echristo added a comment.

Rather than testing for isNVPTX in AsmPrinter.cpp I'd rather just make a function "emitPreFunctionDebugInfo" and have it do nothing unless it's NVPTX and then define this in the nvptx backend. Easier to update if nvidia ever fixes this weirdness too.


Repository:
  rL LLVM

https://reviews.llvm.org/D45784





More information about the llvm-commits mailing list