[all-commits] [llvm/llvm-project] 2e214b: [SVE] Remove invalid usage of VectorType::getNumEl...

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Tue Apr 28 12:59:54 PDT 2020


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

  Changed paths:
    M llvm/lib/IR/Function.cpp

  Log Message:
  -----------
  [SVE] Remove invalid usage of VectorType::getNumElements in Function

Summary:
Removes usage of VectorType::getNumElements identified by test located
at CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c. This code explicitly
converts a potentially fixed length vector to scalable vector by
constructing the ElementCount = {getNumElements(), true}

Reviewers: rengolin, efriedma, kmclaughlin, c-rhodes, sdesmalen

Reviewed By: efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list