[llvm] [RISCV] vfadd.vf + splat (fneg)-> vfsub.vf (PR #173589)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 29 06:11:09 PST 2025


https://github.com/lukel97 commented:

FWIW DAGCombiner folds `(fadd A, (fneg B)) -> (fsub A, B)` in visitFADD, I wonder if it would be worthwhile to teach it to look through splats too

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


More information about the llvm-commits mailing list