guy-david wrote: > Is it possible to write this as a post legalisation DAG combine? to remove the need for dedicated isel patterns. Do you mean a pattern that combines stores whenever the source is a `fp_to_sint`, or the other way around? https://github.com/llvm/llvm-project/pull/147707