GlobalISel: rework CallLowering so that it can be used for libcalls too.
authorTim Northover <tnorthover@apple.com>
Mon, 29 Aug 2016 19:07:08 +0000 (19:07 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 29 Aug 2016 19:07:08 +0000 (19:07 +0000)
commitfe5f89ba144f03fa10e93307988d787309d3a744
tree038df89ecdc785ff07727ca294475c8cf6baf049
parentb90fc9b3b48cb91ee5b21f8f16b9ef1e95dec63f
GlobalISel: rework CallLowering so that it can be used for libcalls too.

There should be no functional change here, I'm just making the implementation
of "frem" (to libcall) legalization easier for a followup.

llvm-svn: 279987
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp [new file with mode: 0644]
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/Target/AArch64/AArch64CallLowering.cpp
llvm/lib/Target/AArch64/AArch64CallLowering.h