[PATCH] D69470: [ExpandReductions] Don't push all intrinsics to the worklist. Just push reductions.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 02:50:15 PDT 2019


RKSimon added inline comments.


================
Comment at: llvm/lib/CodeGen/ExpandReductions.cpp:98
+      case Intrinsic::experimental_vector_reduce_fmin:
+        Worklist.push_back(II);
+        break;
----------------
Do we gain anything by doing the if TTI->shouldExpandReduction(II) here to decide whether to add to WorkList?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69470





More information about the llvm-commits mailing list