[all-commits] [llvm/llvm-project] 8d694a: When lowering calls and tail calls in AArch64, the...

Eric Christopher via All-commits all-commits at lists.llvm.org
Wed Nov 6 15:25:18 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d694a45ab6626a5768240ca370774c72722ca7c
      https://github.com/llvm/llvm-project/commit/8d694a45ab6626a5768240ca370774c72722ca7c
  Author: Eric Christopher <echristo at gmail.com>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64CallLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
    A llvm/test/CodeGen/AArch64/arm64-preserve-most.ll

  Log Message:
  -----------
  When lowering calls and tail calls in AArch64, the register mask and
return value location depends on the calling convention of the callee.
`F.getCallingConv()`, however, is the caller CC. Correct it to the
callee CC from `CallLoweringInfo`.

Fixes PR43449

Patch by Shu-Chun Weng!




More information about the All-commits mailing list