[all-commits] [llvm/llvm-project] 30af59: [SVE][CodeGen] Legalisation of EXTRACT_VECTOR_ELT ...

kmclaughlin-arm via All-commits all-commits at lists.llvm.org
Thu Aug 13 04:33:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 30af595f05b5c1cd39f148f00e71db2b91eb3036
      https://github.com/llvm/llvm-project/commit/30af595f05b5c1cd39f148f00e71db2b91eb3036
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    A llvm/test/CodeGen/AArch64/sve-split-extract-elt.ll

  Log Message:
  -----------
  [SVE][CodeGen] Legalisation of EXTRACT_VECTOR_ELT for scalable vectors

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.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85754




More information about the All-commits mailing list