[all-commits] [llvm/llvm-project] 6e7eeb: [GVN] Fix VNCoercion for Scalable Vector.
huihzhang via All-commits
all-commits at lists.llvm.org
Fri Apr 10 17:49:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6e7eeb44b305391f736437d050729b09c02fda0f
https://github.com/llvm/llvm-project/commit/6e7eeb44b305391f736437d050729b09c02fda0f
Author: Huihui Zhang <huihuiz at quicinc.com>
Date: 2020-04-10 (Fri, 10 Apr 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Utils/VNCoercion.cpp
A llvm/test/Transforms/GVN/vscale.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list