[PATCH] D86715: [CodeGen] Properly propagating Calling Convention information when lowering vector arguments

Lucas Prates via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 07:40:43 PDT 2020


pratlucas created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
pratlucas requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86715

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86715.288329.patch
Type: text/x-patch
Size: 6547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200827/a7969ad9/attachment.bin>


More information about the llvm-commits mailing list