[all-commits] [llvm/llvm-project] 8bec33: [SVE] Remove VectorType::getBitWidth()

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Tue Apr 21 13:34:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bec33c096bd71bbace60c4371cde88fd48ae651
      https://github.com/llvm/llvm-project/commit/8bec33c096bd71bbace60c4371cde88fd48ae651
  Author: Christopher Tetreault <ctetreau at quicinc.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M llvm/include/llvm/IR/DerivedTypes.h
    M llvm/lib/IR/Type.cpp
    M llvm/unittests/AsmParser/AsmParserTest.cpp

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

Summary:
* VectorType::getBitWidth() is just an unsafe version of
getPrimitiveSizeInBits() that assumes all vectors are fixed width.

Reviewers: efriedma, sdesmalen, huntergr, craig.topper

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list