[PATCH] D53035: [LV] Legalize SVML call instructions during vector code generation

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 18:37:54 PDT 2020


ayermolo added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4702
+      // was not Intrinsic
+      if (!isa<IntrinsicInst>(CI) &&
+          (V->getCalledFunction()->getName()).startswith("__svml")) {
----------------
For my own education, how come there is a check for intrinsic? Won't something like log(..) be treated as intrinsic?


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

https://reviews.llvm.org/D53035



More information about the llvm-commits mailing list