[PATCH] D31512: Allow targets to opt-in to codegen in SCC order

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 11:47:48 PDT 2017


MatzeB added a comment.

In https://reviews.llvm.org/D31512#718347, @arsenm wrote:

> In https://reviews.llvm.org/D31512#718333, @MatzeB wrote:
>
> > I'd lean towards putting the option into TargetPassConfig instead of TargetMachine, what do you think?
>
>
> I wasn't sure on this. Is there any reason passes would need to check this? If not, then TargetPassConfig is probably the right place.


I can't think of a reason why passes would want to know this (and they certainly shouldn't rely on a specific order).


https://reviews.llvm.org/D31512





More information about the llvm-commits mailing list