[PATCH] D31039: [GlobalISel] Use the correct calling conv for calls

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 10:16:05 PDT 2017


rovka created this revision.
Herald added subscribers: kristof.beyls, dberris.
Herald added a reviewer: javed.absar.

This commit adds a parameter that lets us pass in the calling convention
of the call to CallLowering::lowerCall. This allows us to handle
situations where the calling convetion of the callee is different from
that of the caller.


https://reviews.llvm.org/D31039

Files:
  include/llvm/CodeGen/GlobalISel/CallLowering.h
  lib/CodeGen/GlobalISel/CallLowering.cpp
  lib/CodeGen/GlobalISel/IRTranslator.cpp
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/Target/AArch64/AArch64CallLowering.cpp
  lib/Target/AArch64/AArch64CallLowering.h
  lib/Target/ARM/ARMCallLowering.cpp
  lib/Target/ARM/ARMCallLowering.h
  test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31039.92016.patch
Type: text/x-patch
Size: 7719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170316/ca1bcfbf/attachment.bin>


More information about the llvm-commits mailing list