Although i32 type is illegal in the backend, RV64I has pretty good support for i32 types by using W instructions.
By adding n32 to the DataLayout string, middle end optimizations will consider i32 to be a native type. One known effect of this is enabling LoopStrengthReduce on loops with i32 induction variables. This can be beneficial because C/C++ code often has loops with i32 induction variables due to the use of int or unsigned int.
If this patch exposes performance issues, those are better addressed by tuning LSR or other passes.
Without additional context I don't think this makes much sense to most readers. Before looking at this patch description I would not have been and to say what n is used for.
Maybe something like "i32 has been marked as a legal integer type for RV64, improving code generation for some benchmarks"?