[all-commits] [llvm/llvm-project] 0616e9: [InstSimplify][SVE] Fix SimplifyGEPInst for scalab...

huihzhang via All-commits all-commits at lists.llvm.org
Mon Mar 16 11:46:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0616e9964b9ef2e2cb12790515610e7cdd0042e3
      https://github.com/llvm/llvm-project/commit/0616e9964b9ef2e2cb12790515610e7cdd0042e3
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

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

  Log Message:
  -----------
  [InstSimplify][SVE] Fix SimplifyGEPInst for scalable vector.

Summary:
Skip folds that rely on DataLayout::getTypeAllocSize(). For scalable
vector, only minimal type alloc size is known at compile-time.

Reviewers: sdesmalen, efriedma, spatel, apazos

Reviewed By: efriedma

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

Tags: #llvm

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




More information about the All-commits mailing list