diff options
author | Michael Zolotukhin <mzolotukhin@apple.com> | 2016-05-18 21:20:12 +0000 |
---|---|---|
committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2016-05-18 21:20:12 +0000 |
commit | d2268a73bc8b505fa5d124e9b95e9cfe50698b14 (patch) | |
tree | cdb8f8b0ac64d91adacff191fea2f7325f023f48 /llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | |
parent | 6989ebf6619711a6dcb04fd5dc4fabf175d9207a (diff) | |
download | bcm5719-llvm-d2268a73bc8b505fa5d124e9b95e9cfe50698b14.tar.gz bcm5719-llvm-d2268a73bc8b505fa5d124e9b95e9cfe50698b14.zip |
[LoopUnrollAnalyzer] Take into account cost of instructions controlling branches, along with their operands.
Previously, we didn't add their and their operands cost, which could've
resulted in unrolling loops for no actual benefit.
llvm-svn: 269985
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions