[MachineCopyPropagation] Refactor copy tracking into a class. NFC
authorJustin Bogner <mail@justinbogner.com>
Fri, 21 Sep 2018 00:51:04 +0000 (00:51 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 21 Sep 2018 00:51:04 +0000 (00:51 +0000)
commit45b3ddc5a4919b72e3a15e55eea86d470728a43b
tree435c5b1eff9f54d55177fa14caf084236463203b
parent7b1c8168c7912e2cb5b10ad56f836ccc552e3c0e
[MachineCopyPropagation] Refactor copy tracking into a class. NFC

This is a bit easier to follow than handling the copy and src maps
directly in the pass, and will make upcoming changes to how this is
done easier to follow.

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