[PATCH] D101916: [LoopVectorize] Fix crash for predicated instructions with scalable VF

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 05:16:20 PDT 2021


CarolineConcatto updated this revision to Diff 360091.
CarolineConcatto marked 2 inline comments as done.
CarolineConcatto added a comment.

- Add scalable-vectorization=on in the llvm-ir test.
- Move llvm-ir test to be in AArch64 folder.
- Remove assertions in computePredInstDiscount and getInstructionCost.
- Replace getKnownMinValue by getFixedValue() in computePredInstDiscount and getInstructionCost.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101916

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-predicate-instruction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101916.360091.patch
Type: text/x-patch
Size: 8145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/3ee98642/attachment-0001.bin>


More information about the llvm-commits mailing list