[PATCH] D85199: GlobalISel: Add generic instructions for memory intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 07:59:16 PDT 2020


arsenm added a comment.

In D85199#2193321 <https://reviews.llvm.org/D85199#2193321>, @kschwarz wrote:

>> The promotion gets inserted in the libcall lowering [...]
>
> What promotion do you mean? In its current from, createMemLibcall doesn't do any type promotion?

If the argument size is narrower than the register it's passed it, it ends up inserting an extension to the register by virtue of the regular call lowering code

This patch just maintains the functionality that's there already, a new action to narrow the size is a separate patch


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85199/new/

https://reviews.llvm.org/D85199



More information about the llvm-commits mailing list