[PATCH] D82792: [SVE][CodeGen] Legalisation of unpredicated load instructions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 10:48:45 PDT 2020


kmclaughlin updated this revision to Diff 274864.
kmclaughlin added a comment.

- Use sextOrTrunc in getVScale() to ensure that `MulImm` matches the return type of the vscale
- Add an assertion to getNode() which checks that the operand and return types of vscale match


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

https://reviews.llvm.org/D82792

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AArch64/sve-split-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82792.274864.patch
Type: text/x-patch
Size: 5712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/97782ccd/attachment.bin>


More information about the llvm-commits mailing list