[PATCH] D76944: [GVN] Fix VNCoercion/BasicAA for Scalable Vector.
Huihui Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 27 12:01:26 PDT 2020
huihuiz created this revision.
huihuiz added reviewers: sdesmalen, efriedma, spatel, fhahn, reames, apazos.
huihuiz added a project: LLVM.
Herald added subscribers: jfb, hiraditya.
For VNCoercion, skip scalable vector when analysis rely on fixed size,
otherwise call TypeSize::getFixedSize() explicitly.
For BasicAAResult, do not decompose gep expression if gep does not have
constant offset.
Add unit tests to check funtionality of GVN load elimination for scalable vectors.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76944
Files:
llvm/lib/Analysis/BasicAliasAnalysis.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/lib/Transforms/Utils/VNCoercion.cpp
llvm/test/Transforms/GVN/vscale.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76944.253187.patch
Type: text/x-patch
Size: 24389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200327/7665aad2/attachment.bin>
More information about the llvm-commits
mailing list