Similar to fsub, fdiv can also be vectorized using fmul.
Also http://llvm.org/viewvc/llvm-project?view=revision&revision=215200
Differential D34078
Enable support for floating-point division reductions yuyichao on Jun 10 2017, 5:52 AM. Authored by
Details Similar to fsub, fdiv can also be vectorized using fmul. Also http://llvm.org/viewvc/llvm-project?view=revision&revision=215200
Diff Detail
Unit Tests Event TimelineComment Actions I suggest to add one more test that shows that vectorization does not happen when the reduction variable is the second argument of fdiv. |