llvm-project
5287299f - [VectorCombine] foldShuffleOfBinops - prefer same cost fold if it reduces instruction count (#120216)

Commit
265 days ago
[VectorCombine] foldShuffleOfBinops - prefer same cost fold if it reduces instruction count (#120216) We don't fold "shuffle (binop), (binop)" -> "binop (shuffle), (shuffle)" if the old/new costs are equal, but we can relax this if either new shuffle will constant fold as it will reduce instruction count.
Author
Parents
Loading