[PATCH] D109645: [LV] Recognize intrinsic min/max reductions

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 13:52:04 PDT 2021


spatel added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/minmax_reduction.ll:985
+; CHECK: nnan nsz <2 x float> @llvm.maxnum.v2f32
+; CHECK: float @llvm.vector.reduce.fmax.v2f32
 define float @fmax_intrinsic(float* nocapture readonly %x) {
----------------
Does this call (and also fmin above) have the expected FMF too?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109645/new/

https://reviews.llvm.org/D109645



More information about the llvm-commits mailing list