Revert "[Pass][CodeGen] Add some necessary passes for codegen (#70903)"
commitd42b2ceb6c79879d6c8409426d637bfac4cdf00d
authorAlex Langford <alangford@apple.com>
Wed, 8 Nov 2023 23:58:33 +0000 (8 15:58 -0800)
committerAlex Langford <alangford@apple.com>
Wed, 8 Nov 2023 23:59:44 +0000 (8 15:59 -0800)
tree8053aeff3f285a148c3cc50d3ddf61d3ab6dd721
parent71de61259a513120796c294568754b0b9e2ee085
Revert "[Pass][CodeGen] Add some necessary passes for codegen (#70903)"

This change broke building LLVM with Module support enabled, i.e.
`LLVM_ENABLE_MODULES=ON`.
This reverts commit f40da072ed51ba77bf46191b35a74208b1045042.
llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
llvm/include/llvm/CodeGen/MachinePassRegistry.def
llvm/lib/CodeGen/CodeGenPassBuilder.cpp