chenzheng1030 wrote: Thanks for review @diggerlin . I've made a new solution. Could you please help to review again? FYI @jh7370. This is the new solution based on your comments in https://github.com/llvm/llvm-project/pull/69552 https://github.com/llvm/llvm-project/pull/69553