[PATCH] D155218: [InstCombine] Optimize addition/subtraction operations of splats of vscale multiplied by a constant
Igor Kirillov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 05:32:01 PDT 2023
igor.kirillov updated this revision to Diff 547740.
igor.kirillov marked 3 inline comments as done.
igor.kirillov added a comment.
- Vscale -> VScale
- Move `foldVScaleSplatAddSub` call to `visitAdd` and `visitSub`
- Refactor pattern detection algorithm
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155218/new/
https://reviews.llvm.org/D155218
Files:
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/vscale.ll
llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155218.547740.patch
Type: text/x-patch
Size: 16244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/6785587f/attachment.bin>
More information about the llvm-commits
mailing list