[all-commits] [llvm/llvm-project] 8f5257: [InstSimplify][SVE] Fix SimplifyInsert/ExtractElem...

huihzhang via All-commits all-commits at lists.llvm.org
Wed Mar 11 15:10:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f525739622d1a478f774d7bd9d336cc1013d04b
      https://github.com/llvm/llvm-project/commit/8f525739622d1a478f774d7bd9d336cc1013d04b
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    A llvm/test/Transforms/InstSimplify/vscale.ll

  Log Message:
  -----------
  [InstSimplify][SVE] Fix SimplifyInsert/ExtractElementInst for scalable vector.

Summary:
For scalable vector, index out-of-bound can not be determined at compile-time.
The same apply for VectorUtil findScalarElement().

Add test cases to check the functionality of SimplifyInsert/ExtractElementInst for scalable vector.

Reviewers: sdesmalen, efriedma, spatel, apazos

Reviewed By: efriedma

Subscribers: cameron.mcinally, tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list