Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SCEV] Don't infinitely recurse on unreachable code | Sanjoy Das | 2016-08-05 | 1 | -0/+28 |
| | | | | llvm-svn: 277848 | ||||
* | [SCEV] Don't create SCEV expressions that break LCSSA | Sanjoy Das | 2015-10-31 | 1 | -0/+24 |
| | | | | | | | | | | | | | Prevent `createNodeFromSelectLikePHI` from creating SCEV expressions that break LCSSA. A better fix for the same issue is to teach SCEVExpander to not break LCSSA by inserting PHI nodes at appropriate places. That's planned for the future. Fixes PR25360. llvm-svn: 251756 | ||||
* | [SCEV] Recognize simple br-phi patterns | Sanjoy Das | 2015-10-02 | 1 | -0/+104 |
Summary: Teach SCEV to match patterns like ``` br %cond, label %left, label %right left: br label %merge right: br label %merge merge: V = phi [ %x, %left ], [ %y, %right ] ``` as "select %cond, %x, %y". Before this SCEV would match PHI nodes exclusively to add recurrences. This addresses PR25005. Reviewers: joker.eph, joker-eph, atrick Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13378 llvm-svn: 249211 |