[all-commits] [llvm/llvm-project] 65fc70: [SCEV] Add support for GEPs over scalable vectors.

Eli Friedman via All-commits all-commits at lists.llvm.org
Fri Mar 13 16:13:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 65fc706ddfd758ebecc2f6c991eee3a6efde66a5
      https://github.com/llvm/llvm-project/commit/65fc706ddfd758ebecc2f6c991eee3a6efde66a5
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    A llvm/test/Analysis/ScalarEvolution/scalable-vector.ll

  Log Message:
  -----------
  [SCEV] Add support for GEPs over scalable vectors.

Because we have to use a ConstantExpr at some point, the canonical form
isn't set in stone, but this seems reasonable.

The pretty sizeof(<vscale x 4 x i32>) dumping is a relic of ancient
LLVM; I didn't have to touch that code. :)

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




More information about the All-commits mailing list