[PATCH] D108371: [LAA] Add Memory dependence and unknown bounds remarks.

Malhar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 1 11:13:53 PDT 2021


malharJ updated this revision to Diff 383842.
malharJ added a comment.

- Removed the mechanism that collected the remarks (enum "FailureReason" and function "elaborateMemoryReport()") and emitted them at the end.

  Instead, now the remarks are emitted inside LoopAccessInfo::analyzeLoop(), ie. while the loop is being analyzed.

- Only one remark is emitted, at the point it is found.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108371

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/test/Analysis/LoopAccessAnalysis/memory-dep-remarks.ll
  llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
  llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
  llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
  llvm/test/Transforms/LoopVectorize/diag-with-hotness-info-2.ll
  llvm/test/Transforms/LoopVectorize/unsafe-dep-remark.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108371.383842.patch
Type: text/x-patch
Size: 35133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/67aa1988/attachment.bin>


More information about the llvm-commits mailing list