HomePhabricator

[InstSimplify][SVE] Fix SimplifyGEPInst for scalable vector.

Authored by huihuiz on Mar 16 2020, 11:45 AM.

Description

[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

Details

Committed
huihuizMar 16 2020, 11:46 AM
Reviewer
efriedma
Differential Revision
D75892: [InstSimplify][SVE] Fix SimplifyGEPInst for scalable vector.
Parents
rGb0bdb186f506: Utils: Always set alignment when expanding mem intrinsics
Branches
Unknown
Tags
Unknown