[PATCH] D92096: [SelectionDAGBuilder] Update signature of `getRegsAndSizes()`.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 05:58:34 PST 2020


fpetrogalli created this revision.
fpetrogalli added reviewers: peterwaller-arm, joechrisellis.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
fpetrogalli requested review of this revision.

The mapping between registers and relative size has been updated to
use TypeSize to account for the size of scalable EVTs.

The patch is a NFCI, if not for the fact that with this change the
function `getUnderlyingArgRegs` does not raise a warning for implicit
conversion of `TypeSize` to `unsigned` when generating machine code
from the test added to the patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92096

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  llvm/test/CodeGen/AArch64/reproducer.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92096.307595.patch
Type: text/x-patch
Size: 5240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201125/e1e94784/attachment.bin>


More information about the llvm-commits mailing list