[PATCH] D19449: Add optimization bisect opt-in calls for ARM passes

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 10:52:59 PDT 2016


probinson added a comment.

In http://reviews.llvm.org/D19449#410859, @andrew.w.kaylor wrote:

> Yes, the intention is to avoid skipping passes that are required for code generation, and this is only enabled for debugging purposes.
>
> The "OptNone" attribute has different motivation than the opt bisect, but in both cases the optimizations are being disabled in response to direct user action.


No no no.  Please do not mix up the two kinds of "users" here.
Bisection is for use by compiler developers to track down bugs in the optimizer.
Optnone is for use by end-users building their applications who want certain functions not to be optimized, usually as a tactic for improving debug info; this has nothing to do with debugging the compiler.


Repository:
  rL LLVM

http://reviews.llvm.org/D19449





More information about the llvm-commits mailing list