[PATCH] D85754: [SVE][CodeGen] Legalisation of EXTRACT_VECTOR_ELT for scalable vectors

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 09:59:30 PDT 2020


kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, efriedma, david-arm.
Herald added subscribers: llvm-commits, steven.zhang, psnobl, hiraditya, tschuett.
Herald added a project: LLVM.
kmclaughlin requested review of this revision.

This patch changes SplitVecOp_EXTRACT_VECTOR_ELT to work correctly
for scalable vectors and also fixes an a bug in DAGCombiner where
the scalable property is dropped in visitTRUNCATE when attempting
to fold an extract + a truncate.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85754

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/test/CodeGen/AArch64/sve-split-extract-elt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85754.284795.patch
Type: text/x-patch
Size: 11308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/2ee4414f/attachment.bin>


More information about the llvm-commits mailing list