diff options
author | Philip Reames <listmail@philipreames.com> | 2018-08-30 00:03:02 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2018-08-30 00:03:02 +0000 |
commit | 6bd16b58501b4026eb817d689356428facfec3b0 (patch) | |
tree | a72947f4a5872343af60210103d1cd36fda84092 /lldb/packages/Python/lldbsuite/test | |
parent | 32a8a2028cb7597cda42eca33dd15860d661f357 (diff) | |
download | bcm5719-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')
0 files changed, 0 insertions, 0 deletions