commit | 9be1720729f9a3d2582c2530718f516494a021c4 | [log] [tgz] |
---|---|---|
author | Mark Heffernan <meheff@google.com> | Mon Jul 13 18:33:21 2015 +0000 |
committer | Mark Heffernan <meheff@google.com> | Mon Jul 13 18:33:21 2015 +0000 |
tree | 99063b856f6328efe5eaa2dc0a64c8280d2979f8 | |
parent | 8a9e01d606ce9954fcdc431ce3be3f7ae2411f38 [diff] |
Enable partial and runtime loop unrolling for NVPTX. Enable partial and runtime loop unrolling for NVPTX backend via TTI::UnrollingPreferences with a small threshold. This partially unrolls small loops which are often unrolled by the PTX to SASS compiler and unrolling earlier can be beneficial. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242049 91177308-0d34-0410-b5e6-96231b3b80d8