[PATCH] D149082: [VPlan] Use VPIRFlags for VPWidenGEPRecipe (NFCI).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 8 03:46:20 PDT 2023
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp:804
auto *Clone = State.Builder.Insert(GEP->clone());
+ cast<GetElementPtrInst>(Clone)->setIsInBounds(isInBounds());
for (unsigned Part = 0; Part < State.UF; ++Part) {
----------------
Ayal wrote:
> Call transferFlags() instead, if only to be consistent and exercised?
Updated, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149082/new/
https://reviews.llvm.org/D149082
More information about the llvm-commits
mailing list