[PATCH] D19394: Add optimization bisect opt-in calls for AArch64 passes

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


probinson added a comment.

In http://reviews.llvm.org/D19394#410899, @rengolin wrote:

> In http://reviews.llvm.org/D19394#410856, @probinson wrote:
>
> > The optnone aspect is controlled in the source via a pragma or attribute.  Does that change your opinion?
>
>
> Pragmas are user intentions in writing, so one way or another, this removes the possibility of users being surprised by erratic compiler behaviour, which is what I was worried about.
>
> Or is there something else I'm missing?


When you say "only for debug purposes" do you mean debugging the compiler, or end-users doing something in their application?  Generally bisection is for the former, attribute optnone is for the latter (generally as a tactic to help debug the application, not the compiler).


Repository:
  rL LLVM

http://reviews.llvm.org/D19394





More information about the llvm-commits mailing list