csstormq wrote: > Looks like a straightforward fix to me. Is there any way to add a unit test? Thanks, @atrick . I have added a test in X86 target, as you suggested. Please review again, thank you. https://github.com/llvm/llvm-project/pull/92368