summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-05-18 21:20:12 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-05-18 21:20:12 +0000
commitd2268a73bc8b505fa5d124e9b95e9cfe50698b14 (patch)
treecdb8f8b0ac64d91adacff191fea2f7325f023f48 /llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
parent6989ebf6619711a6dcb04fd5dc4fabf175d9207a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud