dtcxzyw wrote: With one-use check, this patch doesn't change anything :( I think we should handle the interesting cases I listed in https://github.com/llvm/llvm-project/issues/92433#issuecomment-2117064459 first. https://github.com/llvm/llvm-project/pull/101507