https://github.com/kasuga-fj approved this pull request. I'm not familiar with the LLVM interface, but the intent of the original code doesn't seem to have changed, so it LGTM. Thanks for fixing! https://github.com/llvm/llvm-project/pull/109179