[PATCH] Add Load Combine Pass
Michael Spencer
bigcheesegs at gmail.com
Tue May 6 20:53:48 PDT 2014
Moved out to separate pass run after SLP vectorizer. Still need to do a test-suite run.
This combines some loads that probably shouldn't be combined. I believe the proper fix here is to split (trunc (shr (load ...), <multiple of 8>), n) in SDAG for targets where the hardware will do load combining. This still exposes the optimization opportunity without regressing anything.
http://reviews.llvm.org/D3580
Files:
include/llvm/InitializePasses.h
include/llvm/Transforms/Scalar.h
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Scalar/CMakeLists.txt
lib/Transforms/Scalar/LoadCombine.cpp
lib/Transforms/Scalar/Scalar.cpp
test/Transforms/LoadCombine/load-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3580.9145.patch
Type: text/x-patch
Size: 16238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140507/920d6903/attachment.bin>
More information about the llvm-commits
mailing list