aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-05-01 18:38:36 +0000
committerEli Bendersky <eliben@google.com>2014-05-01 18:38:36 +0000
commita108a65df2716de0c12d39f189c300a17a7bde8b (patch)
treeeeb3a1831b939c633e5df5aa4a060bc36c5d0382 /llvm/lib/CodeGen/StackMaps.cpp
parent748be6c3760e47ff9a2c9d88a48f18d92309727b (diff)
downloadllvm-a108a65df2716de0c12d39f189c300a17a7bde8b.zip
llvm-a108a65df2716de0c12d39f189c300a17a7bde8b.tar.gz
llvm-a108a65df2716de0c12d39f189c300a17a7bde8b.tar.bz2
Add an optimization that does CSE in a group of similar GEPs.
This optimization merges the common part of a group of GEPs, so we can compute each pointer address by adding a simple offset to the common part. The optimization is currently only enabled for the NVPTX backend, where it has a large payoff on some benchmarks. Review: http://reviews.llvm.org/D3462 Patch by Jingyue Wu. llvm-svn: 207783
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions