diff options
| author | Jingyue Wu <jingyue@google.com> | 2015-05-28 04:56:52 +0000 |
|---|---|---|
| committer | Jingyue Wu <jingyue@google.com> | 2015-05-28 04:56:52 +0000 |
| commit | c2a014697a6a6c30f7ea11fc500f03fbfb4ad432 (patch) | |
| tree | b26133fdc221832598adba10cec0ebbb345e60ec /llvm/lib/Support/StringPool.cpp | |
| parent | de905773ae782c3526a8b2c11feb6f215f86a3eb (diff) | |
| download | bcm5719-llvm-c2a014697a6a6c30f7ea11fc500f03fbfb4ad432.tar.gz bcm5719-llvm-c2a014697a6a6c30f7ea11fc500f03fbfb4ad432.zip | |
[NaryReassociate] Run EarlyCSE after NaryReassociate
Summary:
This patch made two improvements to NaryReassociate and the NVPTX pipeline
1. Run EarlyCSE/GVN after NaryReassociate to get rid of redundant common
expressions.
2. When adding an instruction to SeenExprs, maps both the SCEV before and after
reassociation to that instruction.
Test Plan: updated @reassociate_gep_nsw in nary-gep.ll
Reviewers: meheff, broune
Reviewed By: broune
Subscribers: dberlin, jholewinski, llvm-commits
Differential Revision: http://reviews.llvm.org/D9947
llvm-svn: 238396
Diffstat (limited to 'llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions

