]> granicus.if.org Git - llvm/commit
[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)
commit3e524bd5b5aacb23be56dc2ba8e58eb633861d29
treeffb527e891153f28414bd7673fc5780f5fd5a9c8
parente9915e833b601c0ff32e1a196f37645cb7e61d48
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373254 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Pass.h
lib/Target/NVPTX/NVPTX.h
lib/Target/NVPTX/NVPTXLowerAlloca.cpp
lib/Transforms/Scalar/DCE.cpp