[PATCH] D130164: [LV] Support predicated div/rem operations via safe-divisor select idiom
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 10:55:25 PDT 2022
reames updated this revision to Diff 448681.
reames added a comment.
Rework using VPInstruction as suggested by @fhahn.
I'm a bit unsure of the wiring for the VPInstruction. It appears to work, but I'm basically just copying code I don't understand. Careful review appreciated.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130164/new/
https://reviews.llvm.org/D130164
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
llvm/test/Transforms/LoopVectorize/AArch64/scalable-predicate-instruction.ll
llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
llvm/test/Transforms/LoopVectorize/RISCV/scalable-divrem.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130164.448681.patch
Type: text/x-patch
Size: 35212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220729/4a19e0aa/attachment.bin>
More information about the llvm-commits
mailing list