Revert r342942 "[MachineCopyPropagation] Reimplement CopyTracker in terms of register...
authorHans Wennborg <hans@hanshq.net>
Thu, 27 Sep 2018 09:59:27 +0000 (09:59 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 27 Sep 2018 09:59:27 +0000 (09:59 +0000)
commit5008d9014b073d5373cee165d1555727977c7a1a
tree72071d9d4606916794a646c5387bb6c9b241f019
parent70ac019efa13010ee2b76a3dd351a92e961c3d51
Revert r342942 "[MachineCopyPropagation] Reimplement CopyTracker in terms of register units"

It seems to have broken several targets, see comments on the llvm-commits thread.

> Change the copy tracker to keep a single map of register units instead
> of 3 maps of registers. This gives a very significant compile time
> performance improvement to the pass. I measured a 30-40% decrease in
> time spent in MCP on x86 and AArch64 and much more significant
> improvements on out of tree targets with more registers.
>
> Differential Revision: https://reviews.llvm.org/D52374

llvm-svn: 343189
llvm/lib/CodeGen/MachineCopyPropagation.cpp