L3GiaBao wrote: The `undef` comes from somewhere else, which I can take a look into. But not sure if thats another PR or to be bundled with this one. Thoughts? https://github.com/llvm/llvm-project/pull/224907