[all-commits] [llvm/llvm-project] ba3413: [CodeGen] Properly propagating Calling Convention ...

Lucas Duarte Prates via All-commits all-commits at lists.llvm.org
Fri Aug 28 02:06:29 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ba3413982cbd7a5b5aeaf2ea34e0a91d5561202d
      https://github.com/llvm/llvm-project/commit/ba3413982cbd7a5b5aeaf2ea34e0a91d5561202d
  Author: Lucas Prates <lucas.prates at arm.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/ARM/fp16-args.ll
    M llvm/test/CodeGen/ARM/fp16-v3.ll

  Log Message:
  -----------
  [CodeGen] Properly propagating Calling Convention information when lowering vector arguments

When joining the legal parts of vector arguments into its original value
during the lower of Formal Arguments in SelectionDAGBuilder, the Calling
Convention information was not being propagated for the handling of each
individual parts. The same did not happen when lowering calls, causing a
mismatch.

This patch fixes the issue by properly propagating the Calling
Convention details.

This fixes Bugzilla #47001.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D86715

(cherry picked from commit 3d943bcd223e5b97179840c2f5885fe341e51747)




More information about the All-commits mailing list