[PATCH] D34708: [NVPTX] Allow to make libcalls that are defined in the current module.

Denys Zariaiev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 21 15:52:10 PST 2018


denzp updated this revision to Diff 179375.
denzp added a comment.

Thanks, @tra that was a great idea!

I've added thorough PTX tests with and without the pass. And MIR test before and after the pass.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D34708/new/

https://reviews.llvm.org/D34708

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/Target/NVPTX/CMakeLists.txt
  lib/Target/NVPTX/NVPTX.h
  lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  lib/Target/NVPTX/NVPTXISelLowering.h
  lib/Target/NVPTX/NVPTXInstrInfo.td
  lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  test/CodeGen/NVPTX/calls-with-phi.ll
  test/CodeGen/NVPTX/libcall-fulfilled.ll
  test/CodeGen/NVPTX/libcall-instruction.ll
  test/CodeGen/NVPTX/libcall-intrinsic.ll
  test/CodeGen/NVPTX/proxy-reg-erasure-mir.ll
  test/CodeGen/NVPTX/proxy-reg-erasure-ptx.ll
  test/CodeGen/NVPTX/zero-cs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34708.179375.patch
Type: text/x-patch
Size: 26273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/b358ccd2/attachment.bin>


More information about the llvm-commits mailing list