================ ---------------- Jianhui-Li wrote: I don't get why we need to do this in sinkElementwiseConversions(). Would it help if calling xegpu::rematerializeConversionSources() as the last step()? https://github.com/llvm/llvm-project/pull/230669