[all-commits] [llvm/llvm-project] 5d0c3a: [SVE] Remove VectorType::isScalable()

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Thu Apr 23 15:40:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d0c3a8026ea708e72e1084aa659f5a4de68b88f
      https://github.com/llvm/llvm-project/commit/5d0c3a8026ea708e72e1084aa659f5a4de68b88f
  Author: Christopher Tetreault <ctetreau at quicinc.com>
  Date:   2020-04-23 (Thu, 23 Apr 2020)

  Changed paths:
    M llvm/include/llvm/IR/DerivedTypes.h

  Log Message:
  -----------
  [SVE] Remove VectorType::isScalable()

Summary:
* This is a property of the instance of VectorType. If
isa<ScalableVectorType>(T) is true, then T->isScalable() would have
returned true and vice-versa. Most code that checks this function uses
the result to bail out if a vector is a scalable vector. This code will
be cleaner if it just calls isa<ScalableVectorType>(T)

Reviewers: efriedma, craig.topper, huntergr, sdesmalen

Reviewed By: sdesmalen

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list