[clang] [lld] [llvm] [LTO] enable `ObjCARCContractPass` only on optimized build (PR #101114)
Peter Rong via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 30 09:40:21 PDT 2024
================
@@ -588,12 +588,6 @@ bool EmitAssemblyHelper::AddEmitPasses(legacy::PassManager &CodeGenPasses,
// this also adds codegenerator level optimization passes.
CodeGenFileType CGFT = getCodeGenFileType(Action);
- // Add ObjC ARC final-cleanup optimizations. This is done as part of the
----------------
DataCorrupted wrote:
Don't run this optimization on O0 has been there for 10+ yrs since 1170b0885f635ef8566. Unfortunately I don't know the committer, but he/she/they probably did it for a reason :(
https://github.com/llvm/llvm-project/pull/101114
More information about the cfe-commits
mailing list