diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-12-08 22:42:43 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-12-08 22:42:43 +0000 |
commit | 9b8caf5bd796b25a8a6e457e7b0d73da8163633d (patch) | |
tree | a24cd137e5bec562dbe599894b0ce8f50b8a8f72 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | cb96ac64b0c42081b7a9d40e95032c9dc2487d3e (diff) | |
download | bcm5719-llvm-9b8caf5bd796b25a8a6e457e7b0d73da8163633d.tar.gz bcm5719-llvm-9b8caf5bd796b25a8a6e457e7b0d73da8163633d.zip |
Revert part of "Cleanup some GraphTraits iteration code"
This reverts part of r300656, which caused a regression in
propagateMassToSuccessors by counting edges n^2 times, where n is the
number of edges from the source basic block to the same successor basic
block. The result was both incorrect and very slow to compute for large
values of n (e.g. switches with multiple cases that go to the same basic
block).
Patch by Andrew Scheidecker!
llvm-svn: 320208
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions