summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2015-05-28 21:49:07 +0000
committerWei Mi <wmi@google.com>2015-05-28 21:49:07 +0000
commite2538b5639a8ed4756ef134a4a552e4efb295df4 (patch)
treecc85b75a3aa54aeff5755b9f0b18aef4a5a957dd /llvm/docs/CommandGuide
parent3a5d3cce80a3b5b11ba44518c6b7e2ad00f7d695 (diff)
downloadbcm5719-llvm-e2538b5639a8ed4756ef134a4a552e4efb295df4.tar.gz
bcm5719-llvm-e2538b5639a8ed4756ef134a4a552e4efb295df4.zip
Enable exitValue rewrite only when the cost of expansion is low.
The patch evaluates the expansion cost of exitValue in indVarSimplify pass, and only does the rewriting when the expansion cost is low or loop can be deleted with the rewriting. It provides an option "-replexitval=" to control the default aggressiveness of the exitvalue rewriting. It also fixes some missing cases in SCEVExpander::isHighCostExpansionHelper to enhance the evaluation of SCEV expansion cost. Differential Revision: http://reviews.llvm.org/D9800 llvm-svn: 238507
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud