summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/edit-swig-python-wrapper-file.py
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-12-14 23:20:38 +0000
committerDevang Patel <dpatel@apple.com>2011-12-14 23:20:38 +0000
commitc2686886433d935e22809c30bc8977381f2f8553 (patch)
tree5ffa95f52422bb4f04d00510ca77b8933cb1d2bc /lldb/scripts/Python/edit-swig-python-wrapper-file.py
parentd647109ff9c414653cfe0c5bba5ad4c542ef2303 (diff)
downloadbcm5719-llvm-c2686886433d935e22809c30bc8977381f2f8553.tar.gz
bcm5719-llvm-c2686886433d935e22809c30bc8977381f2f8553.zip
Do not sink instruction, if it is not profitable.
On ARM, peephole optimization for ABS creates a trivial cfg triangle which tempts machine sink to sink instructions in code which is really straight line code. Sometimes this sinking may alter register allocator input such that use and def of a reg is divided by a branch in between, which may result in extra spills. Now mahine sink avoids sinking if final sink destination is post dominator. Radar 10266272. llvm-svn: 146604
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud