[PATCH] D147750: [LAA/LV] Simplify stride speculation logic [nfc-ish]

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 17:37:24 PDT 2023


reames created this revision.
reames added reviewers: dmgreen, fhahn.
Herald added subscribers: StephenFan, javed.absar, bollu, hiraditya, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added a subscriber: pcwang-thead.
Herald added a project: LLVM.

The whole point of this mechanism is that we're using predicated scalar evolution to simplify expressions, we might as well keep everything as SCEVs the whole time and drive costing by whether the simplification happens.

This should be close to NFC, but with small changes in what might get simplified during costing so not entirely.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147750

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147750.511567.patch
Type: text/x-patch
Size: 13896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/fc84ac47/attachment.bin>


More information about the llvm-commits mailing list