HomePhabricator

[GVN] Fix VNCoercion for Scalable Vector.

Authored by huihuiz on Apr 10 2020, 5:48 PM.

Description

[GVN] Fix VNCoercion for Scalable Vector.

Summary:
For VNCoercion, skip scalable vector when analysis rely on fixed size,
otherwise call TypeSize::getFixedSize() explicitly.

Add unit tests to check funtionality of GVN load elimination for scalable type.

Reviewers: sdesmalen, efriedma, spatel, fhahn, reames, apazos, ctetreau

Reviewed By: efriedma

Subscribers: bjope, hiraditya, jfb, llvm-commits

Tags: #llvm

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

Details

Committed
huihuizApr 10 2020, 5:49 PM
Reviewer
efriedma
Differential Revision
D76944: [GVN] Fix VNCoercion for Scalable Vector.
Parents
rG15000650a6d2: [lit] Fix tests on Windows
Branches
Unknown
Tags
Unknown