[LegacyPassManager] Deprecate the BasicBlockPass/Manager.
authorAlina Sbirlea <asbirlea@google.com>
Mon, 30 Sep 2019 20:17:23 +0000 (20:17 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 30 Sep 2019 20:17:23 +0000 (20:17 +0000)
commit0fa07f4276ea73ef9ccbc026bf391d3f1271db11
tree022c810f3f332453d6d695117af49238b0a1b6fe
parent95679409048c11fb8a0712ffd30fa083af2d57fb
[LegacyPassManager] Deprecate the BasicBlockPass/Manager.

Summary:
The BasicBlockManager is potentially broken and should not be used.
Replace all uses of the BasicBlockPass with a FunctionBlockPass+loop on
blocks.

Reviewers: chandlerc

Subscribers: jholewinski, sanjoy.google, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68234

llvm-svn: 373254
llvm/include/llvm/Pass.h
llvm/lib/Target/NVPTX/NVPTX.h
llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp
llvm/lib/Transforms/Scalar/DCE.cpp