[PATCH] D62997: [LV] Share the LV illegality reporting with LoopVectorize. NFC.

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 07:24:44 PDT 2019


psamolysov updated this revision to Diff 210322.
psamolysov added a comment.

The test `no_switch.ll` has been updated: the LV doesn't report remarks without `-pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize'`, so the test from the CHECK section is removed. I have no idea why, but remarks with lambdas through the code emitted via  `OptimizationRemarkMissed`, not `OptimizationRemarkAnalysis` (if I right understand, 'Missed' means the pass has not been applied by any reasons during optimization).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62997

Files:
  llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
  llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/control-flow.ll
  llvm/test/Transforms/LoopVectorize/no_switch.ll
  llvm/test/Transforms/LoopVectorize/nofloat-report.ll
  llvm/test/Transforms/LoopVectorize/pr38800.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62997.210322.patch
Type: text/x-patch
Size: 30031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190717/e9667b2a/attachment.bin>


More information about the llvm-commits mailing list