Make this clearer for the mathematically inclined. Thanks to Duncan Sands for

going over the text!

llvm-svn: 75414
This commit is contained in:
Nick Lewycky 2009-07-12 05:44:08 +00:00
parent f1b8cb3760
commit ba7ec324b1
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ public:
/// makeICmpRegion - Produce the smallest range that contains all values that
/// might satisfy the comparison specified by Pred when compared to any value
/// contained within Other.
///
/// Solves for range X in 'for all x in X, there exists a y in Y such that
/// icmp op x, y is true'. Every value that might make the comparison true
/// is included in the resulting range.
static ConstantRange makeICmpRegion(unsigned Pred,
const ConstantRange &Other);