summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gdb-scripts/prettyprinters.py
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2017-04-21 15:50:16 +0000
committerWei Mi <wmi@google.com>2017-04-21 15:50:16 +0000
commit337d4d95c277d595b5b31d2b07f49070aea75011 (patch)
tree11d9555ae5c0ddbf61a67c5004e13923c4ab0659 /llvm/utils/gdb-scripts/prettyprinters.py
parentb42f3c03bfb0cb3d6d9d46e756853eac02eb6f01 (diff)
downloadbcm5719-llvm-337d4d95c277d595b5b31d2b07f49070aea75011.tar.gz
bcm5719-llvm-337d4d95c277d595b5b31d2b07f49070aea75011.zip
[ConstHoisting] Add BFI in constanthoisting pass and select the best insertion
places based on it. Existing constant hoisting pass will merge a group of contants in a small range and hoist the const materialization code to the common dominator of their uses. However, if the uses are all in cold pathes, existing implementation may hoist the materialization code from cold pathes to a hot place. This may hurt performance. The patch introduces BFI to the pass and selects the best insertion places based on it. The change is controlled by an option consthoist-with-block-frequency which is off by default for now. Differential Revision: https://reviews.llvm.org/D28962 llvm-svn: 300989
Diffstat (limited to 'llvm/utils/gdb-scripts/prettyprinters.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud