HomePhabricator

[NaryReassociate] Run EarlyCSE after NaryReassociate

Authored by jingyue on May 27 2015, 9:56 PM.

Description

[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.

  1. 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

Details

Committed
jingyueMay 27 2015, 9:56 PM
Reviewer
broune
Differential Revision
D9947: [NaryReassociate] Run EarlyCSE after NaryReassociate
Parents
rGde905773ae78: Add quick bit of doc about SBFrame::GetCFA().
Branches
Unknown
Tags
Unknown