[PATCH] D36197: [X86] Teach fastisel to select calls to dllimport functions

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 16:00:43 PDT 2017


rnk created this revision.
Herald added a subscriber: hiraditya.

Direct calls to dllimport functions are very common Windows. We should
add them to the -O0 fast path.


https://reviews.llvm.org/D36197

Files:
  llvm/lib/Target/X86/X86FastISel.cpp
  llvm/lib/Target/X86/X86Subtarget.cpp
  llvm/test/CodeGen/X86/dllimport-x86_64.ll
  llvm/test/CodeGen/X86/dllimport.ll
  llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
  llvm/test/CodeGen/X86/fast-isel-x86.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36197.109247.patch
Type: text/x-patch
Size: 6237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/263aaf90/attachment.bin>


More information about the llvm-commits mailing list