summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2015-05-28 04:56:52 +0000
committerJingyue Wu <jingyue@google.com>2015-05-28 04:56:52 +0000
commitc2a014697a6a6c30f7ea11fc500f03fbfb4ad432 (patch)
treeb26133fdc221832598adba10cec0ebbb345e60ec /llvm/lib/Support/MathExtras.cpp
parentde905773ae782c3526a8b2c11feb6f215f86a3eb (diff)
downloadbcm5719-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/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud