[all-commits] [llvm/llvm-project] 34e655: [ConstantFold][SVE] Fix constant folding for scala...

huihzhang via All-commits all-commits at lists.llvm.org
Thu Jan 30 10:45:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 34e6552dcbb4f6647746588bb35591a97a7992a3
      https://github.com/llvm/llvm-project/commit/34e6552dcbb4f6647746588bb35591a97a7992a3
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

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

  Log Message:
  -----------
  [ConstantFold][SVE] Fix constant folding for scalable vector unary operations.

Summary:
Similar to issue D71445. Scalable vector should not be evaluated element by element.
Add support to handle scalable vector UndefValue.

Reviewers: sdesmalen, efriedma, apazos, huntergr, willlovett

Reviewed By: efriedma

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

Tags: #llvm

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




More information about the All-commits mailing list