[PATCH] D20115: Loop unroller: set thresholds for optsize and minsize functions to zero

Michael Zolotukhin via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 12:19:33 PDT 2016


mzolotukhin added a comment.

Hi,

In general I agree with what this patch is trying to fix, but wouldn't it be easier to just set `PartialOptSizeThreshold` and `OptSizeThreshold` to `0` in `BasicTTI`? These attributes are aimed exactly at what you are trying to solve, but we just happened to not initialize them with proper values.

Thanks,
Michael


http://reviews.llvm.org/D20115





More information about the llvm-commits mailing list