[mlir] use getNumDimAndSymbolVars when iterate dims/symbols of FlatAffineValueConstraints
Fixes #59443 https://github.com/llvm/llvm-project/issues/59443 getNumVars will add locals and cause out of bound access. Differential Revision: https://reviews.llvm.org/D142851
Loading
Please sign in to comment