aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-01-23 18:49:28 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-01-23 18:49:28 +0000
commit8cce9bdf179c29c3652d4862d6317d7e2e7a411c (patch)
tree3853f3f2a08df6448a6fa1ecfb3778ee31a1da1c /llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp
parentb3500e606195e9026d292a1cdd3faede6be7b0c2 (diff)
downloadllvm-8cce9bdf179c29c3652d4862d6317d7e2e7a411c.zip
llvm-8cce9bdf179c29c3652d4862d6317d7e2e7a411c.tar.gz
llvm-8cce9bdf179c29c3652d4862d6317d7e2e7a411c.tar.bz2
R600: Unconditionally unroll loops that contain GEPs with alloca pointers
Implement the getUnrollingPreferences() function for AMDGPUTargetTransformInfo so that loops that do address calculations on pointers derived from alloca are unconditionally unrolled. Unrolling these loops makes it more likely that SROA will be able to eliminate the allocas, which is a big win for R600 since memory allocated by alloca (private memory) is really slow. llvm-svn: 199916
Diffstat (limited to 'llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp')
0 files changed, 0 insertions, 0 deletions