[PATCH] D11421: New interface to enable shrink wrapping
Kit Barton
kbarton at ca.ibm.com
Mon Jul 27 11:43:27 PDT 2015
kbarton added a comment.
In http://reviews.llvm.org/D11421#212046, @hfinkel wrote:
> > This is necessary for PowerPC, as the decision to run shrink wrapping is partially based on the ABI.
>
>
> How do you imagine this working such that we can still turn off shrink wrapping on PowerPC using the command-line option?
I ended up adding a new command line option to disable it for PPC, but it should be doable with the existing option of -enable-shrink-wrap=false if we don't want to add a new option. I think you can build this check into the checks for the ABI on a per-function bases and achieve the desired behaviour.
Or, I misunderstand the question.
http://reviews.llvm.org/D11421
More information about the llvm-commits
mailing list