[all-commits] [llvm/llvm-project] 5ce38f: [ValueTypes] Add support for scalable EVTs

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Thu Mar 19 04:04:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ce38fcbac92a320bafb89a7b0a8e700bf02d04b
      https://github.com/llvm/llvm-project/commit/5ce38fcbac92a320bafb89a7b0a8e700bf02d04b
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

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

  Log Message:
  -----------
  [ValueTypes] Add support for scalable EVTs

Summary:
* Remove a bunch of asserts checking for unsupported scalable types and
  add some more now that they are supported.
* Propagate the scalable flag where necessary.
* Add another `EVT::getExtendedVectorVT` method that takes an
  ElementCount parameter.
* Add `EVT::isExtendedScalableVector` and
  `EVT::getExtendedVectorElementCount` - latter is currently unused.

Reviewers: sdesmalen, efriedma, rengolin, craig.topper, huntergr

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list