Remove Passes dependency on CodeGen
authorYuanfang Chen <yuanfang.chen@sony.com>
Wed, 24 Jun 2020 02:52:58 +0000 (19:52 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Wed, 24 Jun 2020 21:52:46 +0000 (14:52 -0700)
commitebc88811b5c9ed9375a681a7267831ae7ad46ba7
treef8481673c6a0e806ca6ed2d11ad497cb2170f7ca
parentc6d01ed0465c77090c816f37769643edce8e3501
Remove Passes dependency on CodeGen

The dependency was introduced in
5134020ea62d1e1e125fdac48d251a26b80e9781. The only functional change
from this removal would be the new PM interface for the two codegen
passes. This is not necessary since we don't have codegen pipeline using
new PM yet. This removal is to break the potential circular dependency between
Passes and CodeGen once the codegen begins to gain new PM support.
llvm/lib/Passes/LLVMBuild.txt
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/CodeGen/X86/unreachableblockelim.ll
llvm/test/Transforms/PreISelIntrinsicLowering/load-relative.ll
llvm/test/Transforms/PreISelIntrinsicLowering/objc-arc.ll