1. Mar 23, 2024
    • Matthias Springer's avatar
      [mlir][Interfaces][NFC] `ValueBoundsConstraintSet`: Delete dead code · f9442791
      Matthias Springer authored
      There is an assertion that the stop condition is not satisfied for the the starting point at the beginning of `computeBound`. Therefore, that case does not have to be handled later on in that function.
      f9442791
    • Matthias Springer's avatar
      [mlir][Interfaces][NFC] `ValueBoundsConstraintSet`: Add columns for constant values/dims · 6bbcba6f
      Matthias Springer authored
      `ValueBoundsConstraintSet` maintains an internal constraint set (`IntegerRelation`), where every analyzed index-typed SSA value or dimension of a shaped type is represented with a dimension/symbol. Prior to this change, index-typed values with a statically known constant value and static shaped type dimensions were not added to the constraint set. Instead, `getExpr` directly returned an affine constrant expression.
      
      With this commit, dynamic and static values/dimension sizes are treated in the same way: in either case, a dimension/symbol is added to the constraint set. This is needed for a subsequent commit that adds support for branches.
      6bbcba6f
  2. Mar 22, 2024