[SCEV] Refactor out a createNodeForSelect
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 2 Oct 2015 19:39:59 +0000 (19:39 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 2 Oct 2015 19:39:59 +0000 (19:39 +0000)
commit3d58b720c319419aad3963a3842a312b230718fb
tree9eece01122b67a3345965fd2d50bb2aeadf2a5c3
parentc04323ec72fc663d8b4c42aa9be237ac9a8562ac
[SCEV] Refactor out a createNodeForSelect

Summary:
We will shortly re-use this for select-like br-phi pairs.

Reviewers: atrick, joker-eph, joker.eph

Subscribers: sanjoy, llvm-commits

Differential Revision: http://reviews.llvm.org/D13377

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249177 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp