[PATCH] CSE on GEP indices
Jingyue Wu
jingyue at google.com
Tue Apr 22 16:19:21 PDT 2014
Hi hfinkel, eliben, jholewinski,
Add an optimization that eliminates common sub-expressions in a group of similar GEPs.
TEST PLAN
Added two tests in test/Transforms/SeparateConstOffsetFromGEP/NVPTX. Run them with "make -C test".
BRANCH
gep
http://reviews.llvm.org/D3462
Files:
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Scalar.h
lib/Target/NVPTX/NVPTXTargetMachine.cpp
lib/Transforms/Scalar/Scalar.cpp
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
test/Transforms/SeparateConstantOffsetFromGEP/NVPTX/gvn-pre.ll
test/Transforms/SeparateConstantOffsetFromGEP/NVPTX/lit.local.cfg
test/Transforms/SeparateConstantOffsetFromGEP/NVPTX/split-gep.ll
REPLY HANDLER ACTIONS
Reply to comment, or !reject, !abandon, !reclaim, !resign, !rethink, !unsubscribe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3462.8753.patch
Type: text/x-patch
Size: 32469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140422/c1da1c21/attachment.bin>
More information about the llvm-commits
mailing list