[PATCH] D131146: [RS4GC] Handle vectors of pointers in non-live clobbering
Artur Pilipenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 10:45:22 PDT 2022
apilipenko accepted this revision.
apilipenko added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:2086-2090
+ Constant *CPN;
+ if (PT->isVectorTy())
+ CPN = ConstantAggregateZero::get(PT);
+ else
+ CPN = ConstantPointerNull::get(cast<PointerType>(PT));
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131146/new/
https://reviews.llvm.org/D131146
More information about the llvm-commits
mailing list