[llvm] [VectorCombine] fold fptoui(fdiv(uitofp(x),uitofp(y))) into udiv(x,y) (PR #214844)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 00:58:05 PDT 2026


RKSimon wrote:

> I thought VectorCombine is supposed to focus on variable vector?

Its is, but there's nowhere else a similar cost driven fold should go and the fold is entirely scalar/vector agnostic - we already perform some cost-driven scalarisation, so its not a big stretch :/

https://github.com/llvm/llvm-project/pull/214844


More information about the llvm-commits mailing list