[PATCH] D68499: [PATCH 16/38] [noalias] Loop vectorizer: learn about noalias intrinsics

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 6 04:22:30 PDT 2019


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3223-3227
+  // Compute corresponding vector type for return value and arguments.
+  Type *RetTy = ToVectorTy(ScalarRetTy, VF);
+  for (Type *ScalarTy : ScalarTys)
+    Tys.push_back(ToVectorTy(ScalarTy, VF));
+
----------------
Why was this moved? Just as an optimization in case we early-return inbetween?


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

https://reviews.llvm.org/D68499





More information about the llvm-commits mailing list