[PATCH] D119238: [InstCombine] Support load-store forwarding with scalable vector types
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 8 05:49:23 PST 2022
david-arm created this revision.
david-arm added reviewers: sdesmalen, CarolineConcatto, MattDevereau, efriedma.
Herald added a subscriber: hiraditya.
david-arm requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999.
Herald added a project: LLVM.
This patch fixes an invalid TypeSize->uint64_t implicit conversion in
FoldReinterpretLoadFromConst. We now check to see if the offset is
> the known minimum size of the constant. In addition, I have added
> =================================================================
support for scalable vector splats in ReadDataFromGlobal, since
we can support load-store forwarding when we know the offset is safe.
Tests added here:
Transforms/InstCombine/load-store-forward.ll
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119238
Files:
llvm/lib/Analysis/ConstantFolding.cpp
llvm/test/Transforms/InstCombine/load-store-forward.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119238.406789.patch
Type: text/x-patch
Size: 13003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220208/b91a0e78/attachment.bin>
More information about the llvm-commits
mailing list