[PM] Port ConstantMerge to the new pass manager.

llvm-svn: 268582
8 files changed