[SCEV] Track NoWrap properties using MatchBinaryOp, NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 31 Mar 2016 05:14:26 +0000 (05:14 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 31 Mar 2016 05:14:26 +0000 (05:14 +0000)
commite12c0e515953c0ddb1e4a29c4559e2fcb0e3475a
treeded5579bad705f922280779f1677720dc7ac0107
parent118d919a6a47867c553842a815f304f0477509be
[SCEV] Track NoWrap properties using MatchBinaryOp, NFC

This way once we teach MatchBinaryOp to map more things into arithmetic,
the non-wrapping add recurrence construction would understand it too.
Right now MatchBinaryOp still only understands arithmetic, so this is
solely a code-reorganization change.

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