summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2018-08-30 00:03:02 +0000
committerPhilip Reames <listmail@philipreames.com>2018-08-30 00:03:02 +0000
commit6bd16b58501b4026eb817d689356428facfec3b0 (patch)
treea72947f4a5872343af60210103d1cd36fda84092 /lldb/packages/Python/lldbsuite/test/source-manager
parent32a8a2028cb7597cda42eca33dd15860d661f357 (diff)
downloadbcm5719-llvm-6bd16b58501b4026eb817d689356428facfec3b0.tar.gz
bcm5719-llvm-6bd16b58501b4026eb817d689356428facfec3b0.zip
[SimplifyCFG] Fix a cost modeling oversight in branch commoning
The cost modeling was not accounting for the fact we were duplicating the instruction once per predecessor. With a default threshold of 1, this meant we were actually creating #pred copies. Adding to the fun, there is *absolutely no* test coverage for this. Simply bailing for more than one predecessor passes all checked in tests. llvm-svn: 341001
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud