qcolombet wrote: Given other targets use `const` in similar situation, that sounds reasonable, but I don't know that part of the code base at all. So take my comment with a grain of salt. https://github.com/llvm/llvm-project/pull/71602