arsenm wrote: > We already do this during legalisation / legacy ISEL; there might be merit into doing it as early as possible though. Yes, we definitely need to start folding this out much earlier. https://github.com/llvm/llvm-project/pull/112849