summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2019-08-22 16:21:32 +0000
committerGuozhi Wei <carrot@google.com>2019-08-22 16:21:32 +0000
commit51f48295cbe8fa3a44db263b528dd9f7bae7bf9a (patch)
tree28614c4e7fca7431bf287b07453443bacab0f39b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent95cf66de7cc186253c59a009bb795da1cbe9d6f4 (diff)
downloadbcm5719-llvm-51f48295cbe8fa3a44db263b528dd9f7bae7bf9a.tar.gz
bcm5719-llvm-51f48295cbe8fa3a44db263b528dd9f7bae7bf9a.zip
[MBP] Disable aggressive loop rotate in plain mode
Patch https://reviews.llvm.org/D43256 introduced more aggressive loop layout optimization which depends on profile information. If profile information is not available, the statically estimated profile information(generated by BranchProbabilityInfo.cpp) is used. If user program doesn't behave as BranchProbabilityInfo.cpp expected, the layout may be worse. To be conservative this patch restores the original layout algorithm in plain mode. But user can still try the aggressive layout optimization with -force-precise-rotation-cost=true. Differential Revision: https://reviews.llvm.org/D65673 llvm-svn: 369664
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud