[all-commits] [llvm/llvm-project] 881920: [SVE] Eliminate bad VectorType::getNumElements() c...

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Wed Jun 17 14:20:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8819202dfd2c39a7ed4dd69f0d7e0e0bcf409e2a
      https://github.com/llvm/llvm-project/commit/8819202dfd2c39a7ed4dd69f0d7e0e0bcf409e2a
  Author: Christopher Tetreault <ctetreau at quicinc.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    A llvm/test/Analysis/ConstantFolding/extractelement-vscale.ll

  Log Message:
  -----------
  [SVE] Eliminate bad VectorType::getNumElements() calls from ConstantFold

Summary:
Assume all usages of this function are explicitly fixed-width operations
and cast to FixedVectorType

Reviewers: efriedma, sdesmalen, c-rhodes, majnemer, dblaikie

Reviewed By: sdesmalen

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

Tags: #llvm

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




More information about the All-commits mailing list