commit | 994b4c784fa3d63c90b19fd48e522fc6ff3247e7 | [log] [tgz] |
---|---|---|
author | Kevin Qin <Kevin.Qin@arm.com> | Mon Mar 09 06:14:18 2015 +0000 |
committer | Kevin Qin <Kevin.Qin@arm.com> | Mon Mar 09 06:14:18 2015 +0000 |
tree | 2e9dabc2eebd25ab430b5198eb30260faf3ea6aa | |
parent | 3836dd03155be5cd57bd301a1c6458f7524d2bd8 [diff] |
Introduce runtime unrolling disable matadata and use it to mark the scalar loop from vectorization. Runtime unrolling is an expensive optimization which can bring benefit only if the loop is hot and iteration number is relatively large enough. For some loops, we know they are not worth to be runtime unrolled. The scalar loop from vectorization is one of the cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231631 91177308-0d34-0410-b5e6-96231b3b80d8