[SCEV] Extract out a MatchBinaryOp; NFCI
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 29 Mar 2016 16:40:44 +0000 (16:40 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 29 Mar 2016 16:40:44 +0000 (16:40 +0000)
commit2381fcd5577df601fc8f1799c654d278baca93db
treef807e2093171af045910c0aec2855fcca98cac1d
parent260ad4dd63ee9e4d33709867139cc2e7d6b0d66e
[SCEV] Extract out a MatchBinaryOp; NFCI

MatchBinaryOp abstracts out the IR instructions from the operations they
represent.  While this change is NFC, we will use this factoring later
to map things like `(extractvalue 0 (sadd.with.overflow X Y))` to `(add
X Y)`.

llvm-svn: 264747
llvm/lib/Analysis/ScalarEvolution.cpp