[LVI] Split solveBlockValueConstantRange into two [NFC]
authorPhilip Reames <listmail@philipreames.com>
Mon, 25 Apr 2016 18:30:31 +0000 (18:30 +0000)
committerPhilip Reames <listmail@philipreames.com>
Mon, 25 Apr 2016 18:30:31 +0000 (18:30 +0000)
commit6671577eb309fd61822bd0c437ebb7e1534acf96
tree8664d568082bd4b6f19f236f0982ec1a812ed872
parentd194e51726e1966fe3a13a17d3e2c6d216f89fa8
[LVI] Split solveBlockValueConstantRange into two [NFC]

This function handled both unary and binary operators.  Cloning and specializing leads to much easier to follow code with minimal duplicatation.

llvm-svn: 267438
llvm/lib/Analysis/LazyValueInfo.cpp