https://github.com/kasuga-fj commented: The code looks almost good to me. By the way, what are you going to do for #116630 ? I personally think it's also fine to put it into this PR if it is more convenient for you. https://github.com/llvm/llvm-project/pull/123436