[mlir][linalg] Fix crash in linalg.reduce verifier when inputs \!= inits count (#186278) Add an early check in `ReduceOp::verify()` that compares the operand count from the ODS accessor with `getNumDpsInputs()`. A mismatch means the `SameVariadicOperandSize` invariant is violated and the verifier emits a clear diagnostic instead of crashing. Fixes #93973 Assisted-by: Claude Code GitOrigin-RevId: 4a06f38c6b925eb587ac0b6ab51d9e3c5844d33c
See https://mlir.llvm.org/ for more information.