MachineCopyPropagation: Move variables from function to pass
authorMatthias Braun <matze@braunis.de>
Sat, 20 Feb 2016 03:56:39 +0000 (03:56 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 20 Feb 2016 03:56:39 +0000 (03:56 +0000)
commitbd18d751ded5d3ab803c8d3fdb9a1cc86ff40a44
tree630484ef519c636852c42a02f27e31bba14976b3
parent273575dcbe798c0d9734f06dfd1ca5eb678acd32
MachineCopyPropagation: Move variables from function to pass

This avoids unnecessarily passing them around when calling helper
functions. It may also be slightly faster to call clear() on the
datastructures instead of freshly initializing them for each block.

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