[all-commits] [llvm/llvm-project] 92f3d2: [SelectionDAG] Update getNode asserts for EXTRACT/...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Fri May 29 04:20:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 92f3d29af0c0f2c98ba0dfacac00bbb6eb1f741d
      https://github.com/llvm/llvm-project/commit/92f3d29af0c0f2c98ba0dfacac00bbb6eb1f741d
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.h
    M llvm/include/llvm/Support/MachineValueType.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Update getNode asserts for EXTRACT/INSERT_SUBVECTOR.

Summary:
The description of EXTACT_SUBVECTOR and INSERT_SUBVECTOR has been
changed to accommodate scalable vectors (see ISDOpcodes.h). This
patch updates the asserts used to verify these requirements when
using SelectionDAG's getNode interface.

This patch introduces the MVT function getVectorMinNumElements
that can be used against fixed-length and scalable vectors when
only the known minimum vector length is required.

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list