[PATCH] D135876: [InstCombine] Remove redundant splats in InstCombineVectorOps
Matt Devereau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 31 08:03:12 PDT 2022
MattDevereau updated this revision to Diff 472010.
MattDevereau added a comment.
Don't bail on the added `dyn_cast`.
Use `return new ShuffleVectorInst` instead of `replaceInstUsesWith`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135876/new/
https://reviews.llvm.org/D135876
Files:
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
llvm/test/Transforms/InstCombine/shuffle-binop.ll
llvm/test/Transforms/VectorCombine/AArch64/insert-shuffle-binop.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135876.472010.patch
Type: text/x-patch
Size: 27159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221031/9eab3882/attachment.bin>
More information about the llvm-commits
mailing list