[PATCH] D99718: [LoopVectorize] Simplify scalar cost calculation in getInstructionCost

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 03:35:09 PDT 2021


david-arm updated this revision to Diff 340472.
david-arm added a comment.

- Re-added the assert from the first version of the patch (D98512 <https://reviews.llvm.org/D98512>) with an extra check for PHI instructions.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99718/new/

https://reviews.llvm.org/D99718

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll
  llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99718.340472.patch
Type: text/x-patch
Size: 7018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210426/3a87708e/attachment.bin>


More information about the llvm-commits mailing list