[PATCH] D149081: [VPlan] Add VPWidenCastRecipe, split off from VPWidenRecipe (NFCI).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 13:44:57 PDT 2023


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:8717
+  if (auto *CI = dyn_cast<CastInst>(Instr)) {
+    return toVPRecipeResult(
+        new VPWidenCastRecipe(CI->getOpcode(), Operands[0], CI->getType(), CI));
----------------
Ayal wrote:
> nit (Independent of this patch, mentioned before): VPRecipeOrVPValueTy should be cleaned up and removed.
ACK!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149081



More information about the llvm-commits mailing list