mehdi_amini added a comment. These kind of targetted flags on the PassManagerBuilder are really ugly (and there are too many), we should avoid this as much as possible. Can the faulty Halide test be disabled instead? https://reviews.llvm.org/D22639