aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-10-02 23:09:44 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-10-02 23:09:44 +0000
commit55015d210f2b999f6f35083c4b337038bb99da47 (patch)
treeec06c6e946ea662e572d53306ab7d6e2d21d968b /clang/lib/CodeGen/CodeGenModule.cpp
parentbd0998a1beccf1d88443f87b6c2ed738675ec564 (diff)
downloadllvm-55015d210f2b999f6f35083c4b337038bb99da47.zip
llvm-55015d210f2b999f6f35083c4b337038bb99da47.tar.gz
llvm-55015d210f2b999f6f35083c4b337038bb99da47.tar.bz2
[SCEV] Recognize simple br-phi patterns
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions