yonghong-song wrote: Thanks @aspsk for the update! I will try to remove unneeded globals and add some tests from llvm side to make the pull request complete. https://github.com/llvm/llvm-project/pull/149715