[llvm-dev] Removing IPConstantPropagation.cpp

Florian Hahn via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 28 08:15:43 PDT 2020



> On Jul 28, 2020, at 02:11, Arthur Eubanks <aeubanks at google.com> wrote:
> 
> Should ConstantProp.cpp also be removed? It doesn't look like it's been worked on in over 10 years, and aside from check-llvm lit tests, the only use is in llvm/unittests/ExecutionEngine/MCJIT/MCJITAPITest.cpp via LLVMAddConstantPropagationPass.
> (it hasn't been ported to the new pass manager which is why I'm asking)


If it’s unused/not maintained I think we should also remove it or move it to the examples directory with some additional material, if it is intended to illustrate a simple pass.

Cheers,
Florian


More information about the llvm-dev mailing list