[SCCP] Pass the Solver by reference, copies are expensive ...
authorDavide Italiano <davide@freebsd.org>
Thu, 14 Jul 2016 20:25:54 +0000 (20:25 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 14 Jul 2016 20:25:54 +0000 (20:25 +0000)
commit6f73588fb9d1d9f555abd9ef3b44e92ff2d2a1b1
tree01b7ec676e13133379eb60705a8bae7a879ec19d
parent40f993df25ab8aca38a089ab7d137ccc8dc7670d
[SCCP] Pass the Solver by reference, copies are expensive ...

.. enough to cause LTO compile time to regress insanely.
Thanks *a lot* to Rafael for reporting the problem and testing
the fix!

llvm-svn: 275468
llvm/lib/Transforms/Scalar/SCCP.cpp