mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 18:26:33 +00:00

Computing the bound of affine op (ValueBoundsConstraintSet::computeBound) crashes due to the invalid dim value given to the op. It is necessary for the pass to check the dim attribute not to be greater than the rank of the input type. Fixes https://github.com/llvm/llvm-project/issues/128807
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.