asbirlea added a comment. It does both as far as I know. Add a pass => it'll add that. Add an optimization level => it'll use the builder, and then the -enable flag has meaning. Repository: rL LLVM https://reviews.llvm.org/D22639