[PATCH] D110058: [SelectionDAG] Make WidenVecRes_Convert work for scalable vectors.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 20 03:42:13 PDT 2021


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

Most of the code wasn't yet scalable safe, although most of the
code conceptually just works for scalable vectors. This change
makes the algorithm work on ElementCount, where appropriate,
and leaves the fixed-width only code to use `getFixedNumElements`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110058

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/test/CodeGen/AArch64/sve-fcvt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110058.373540.patch
Type: text/x-patch
Size: 10297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210920/ae8859f0/attachment-0001.bin>


More information about the llvm-commits mailing list