[PATCH] D22437: [LoopDist] Port to new PM

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 22:07:17 PDT 2016


anemet created this revision.
anemet added reviewers: davidxl, silvas.
anemet added a subscriber: llvm-commits.
Herald added subscribers: mzolotukhin, sanjoy.

The direct motivation for the is to ensure that the OptRemarkEmitter
tests work with the new PM.

This remains a function pass because we not only create multiple loops
but could also version the original loop.

In the test I need to invoke opt
with -passes='require<aa>,loop-distribute'.  LoopDistribute does not
directly depend on AA however LAA does.  LAA uses getCachedResult so
I *think* we need manually pull in 'aa'.

https://reviews.llvm.org/D22437

Files:
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Scalar/LoopDistribute.h
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/Scalar/LoopDistribute.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/Transforms/LoopDistribute/diagnostics-with-hotness-lazy-BFI.ll
  test/Transforms/LoopDistribute/diagnostics-with-hotness.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22437.64226.patch
Type: text/x-patch
Size: 11781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160716/4ec544eb/attachment.bin>


More information about the llvm-commits mailing list