Add LoadCombine pass.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 29 May 2014 01:55:07 +0000 (01:55 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 29 May 2014 01:55:07 +0000 (01:55 +0000)
commit289067cc3dbb9560dfe1d1d1d6e725322c2b10a0
tree715848d3c5a1592ccd9b6949ca3971e1596a9b1f
parentdea76ee889248deb7b0754d4ac3b9e6575e00b6c
Add LoadCombine pass.

This pass is disabled by default. Use -combine-loads to enable in -O[1-3]

Differential revision: http://reviews.llvm.org/D3580

llvm-svn: 209791
llvm/include/llvm/IR/IRBuilder.h
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Scalar.h
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/lib/Transforms/Scalar/CMakeLists.txt
llvm/lib/Transforms/Scalar/LoadCombine.cpp [new file with mode: 0644]
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/test/Transforms/LoadCombine/load-combine.ll [new file with mode: 0644]