https://github.com/eugeneepshteyn approved this pull request. I'm no expect here, but I reproduced the issue, then added missing `-dialect=fir` and the FIRLangRef.md was successfully generated. FWIW, LGTM! https://github.com/llvm/llvm-project/pull/182506