[PATCH] D84411: [LoopVersion] Pass RuntimePointerChecking directly.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 07:37:52 PDT 2020


fhahn created this revision.
fhahn added reviewers: Ayal, anemet, hfinkel.
Herald added subscribers: asbirlea, hiraditya.
Herald added a project: LLVM.

This refactoring was suggested as follow up by @Ayal in D78460 <https://reviews.llvm.org/D78460>.

This requires changing the way some clients filter runtime checks.

Clients who want to filter out some runtime checks now have to create a
copy of RuntimePointerChecking and apply the filter to the runtime
checks. This seems reasonable to me, as it makes explicit that we
effectively create a subset of the pointer checking.

Passing RuntimePointerChecking also makes changes to addRuntimeChecks
easier, as RuntimePointerChecking should contain all information about
the checks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84411

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/include/llvm/Transforms/Utils/LoopVersioning.h
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/lib/Transforms/Scalar/LoopDistribute.cpp
  llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
  llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
  llvm/lib/Transforms/Utils/LoopUtils.cpp
  llvm/lib/Transforms/Utils/LoopVersioning.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84411.280114.patch
Type: text/x-patch
Size: 23173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200723/ec7adaf7/attachment.bin>


More information about the llvm-commits mailing list