[PATCH] D68234: [LegacyPassManager] Deprecate the BasicBlockPass/Manager.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 11:20:05 PDT 2019


tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: include/llvm/Pass.h:309-311
+/// Deprecated - do not create new passes as BasicBlockPasses. Use FunctionPass
+/// with a loop over the BasicBlocks instead.
+//
----------------
Would it make sense to add an `__attribute__((__deprected__...))` to relevant functions?



Repository:
  rL LLVM

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

https://reviews.llvm.org/D68234





More information about the llvm-commits mailing list