Bhatu via llvm-dev
2018-Jul-30 16:02 UTC
[llvm-dev] Why is Partial Unrolling off by default?
Hi all, Why is partial unrolling off by default? Did enabling partial unrolling result in any significant runtime or compile time regressions in any benchmarks? -- Regards Bhatu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180730/eb0d0b4f/attachment.html>
Friedman, Eli via llvm-dev
2018-Jul-30 18:34 UTC
[llvm-dev] Why is Partial Unrolling off by default?
On 7/30/2018 9:02 AM, Bhatu via llvm-dev wrote:> Hi all, > > Why is partial unrolling off by default? Did enabling partial > unrolling result in any significant runtime or compile time > regressions in any benchmarks?It's not off by default on all targets; it's controlled by the getUnrollingPreferences() target hook. The exact threshold which makes sense tends to be target-specific (especially for CPUs which have special optimizations for small loops). -Eli -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project