[llvm-commits] PATCH: Scalar Replacement of Aggregates Pass - Add more threshold parameters
Duncan Sands
baldrick at free.fr
Wed Jun 6 08:28:21 PDT 2012
Hi Tom,
> The attached pass allows users of the SROA pass to specify threshold
> values for the maximum number of struct members and number of array elements
> that can be considered for SROA.
>
> The current hard-coded threshold value for maximum number of array elements
> is 8. This is too small for GPUs targeted by the R600 backend which
> have 512 general purpose registers, so it would be very useful for these
> targets to be able to manually specify these threshold values.
>
> Please Review.
LGTM.
Ciao, Duncan.
More information about the llvm-commits
mailing list