xbolva00 added a comment. I agree that adjusting BBDuplicateThreshold for code size is better choice than disabling the whole pass. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D72916/new/ https://reviews.llvm.org/D72916