I agree with Mehdi. I expect `-S -flto` to give equivalent output to `-c -flto`.
In effect, with this change, `-flto -S` would silently ignore the `-flto` flag. That doesn't make sense to me. > On 2016-Jun-05, at 18:28, Mehdi AMINI <mehdi.am...@apple.com> wrote: > > mehdi_amini added a comment. > > What makes me not comfortable with this change is that after that `-c` would > not involves codegen but `-S` would. > Indeed I am using sometimes `-flto -S` and I expect IR, that's what is the > most logical to me considering what -c does. > > > http://reviews.llvm.org/D21006 > > > _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits