1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
Philip Reames 457e69f814 [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
2018-08-30 00:03:02 +00:00
..
2018-08-29 23:20:29 +00:00
2018-07-27 06:50:45 +00:00
2018-07-30 19:41:25 +00:00
2018-08-29 10:40:51 +00:00
2018-07-30 19:41:25 +00:00