[PATCH] D128073: [SROA] Try harder to find a vector promotion viable type when rewriting
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 12:20:52 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/SROA.cpp:4265
+ if (!SliceTy ||
+ (dyn_cast<VectorType>(SliceTy) &&
+ !CheckVectorTypeForPromotion(P, dyn_cast<VectorType>(SliceTy), DL)))
----------------
You didn't re-use the dyn_cast value
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128073/new/
https://reviews.llvm.org/D128073
More information about the llvm-commits
mailing list