summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/shell-parsing.py
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2017-07-06 22:32:27 +0000
committerWei Mi <wmi@google.com>2017-07-06 22:32:27 +0000
commit20526b2725c6d570057d10d12a8ad0ae830c3923 (patch)
treedfb698349b4cff62f20d9d6c9d068a05cb25060b /llvm/utils/lit/tests/shell-parsing.py
parentb9fc48da832654a2b486adaa790ceaa6dba94455 (diff)
downloadbcm5719-llvm-20526b2725c6d570057d10d12a8ad0ae830c3923.tar.gz
bcm5719-llvm-20526b2725c6d570057d10d12a8ad0ae830c3923.zip
[ConstHoisting] choose to hoist when frequency is the same.
The patch is to adjust the strategy of frequency based consthoisting: Previously when the candidate block has the same frequency with the existing blocks containing a const, it will not hoist the const to the candidate block. For that case, now we change the strategy to hoist the const if only existing blocks have more than one block member. This is helpful for reducing code size. Differential Revision: https://reviews.llvm.org/D35084 llvm-svn: 307328
Diffstat (limited to 'llvm/utils/lit/tests/shell-parsing.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud