aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/GlobalMerge.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-08-04Remove the TargetMachine forwards for TargetSubtargetInfo basedEric Christopher1-2/+3
information and update all callers. No functional change. llvm-svn: 214781
2014-07-08Fix some Twine locals.Benjamin Kramer1-9/+7
Two of those are use after frees. Found by clang-tidy, fixed by me. llvm-svn: 212537
2014-06-13Move GlobalMerge from Transform to CodeGen.Jiangning Liu1-0/+363
This patch is to move GlobalMerge pass from Transform/Scalar to CodeGen, because GlobalMerge depends on TargetMachine. In the mean time, the macro INITIALIZE_TM_PASS is also moved to CodeGen/Passes.h. With this fix we can avoid making libScalarOpts depend on libCodeGen. llvm-svn: 210951