[PATCH] D76305: [RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 7 04:49:54 PDT 2020
skatkov added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:667
+// Returns true if First and Second values are both scalar or both vector.
+static bool isCorrectType(Value *First, Value *Second) {
+ return isa<VectorType>(First->getType()) ==
----------------
skatkov wrote:
> Confusing name...
> areTypesMatched? or something like this?
May be even more specific - areBothVectorOrScalar?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76305/new/
https://reviews.llvm.org/D76305
More information about the llvm-commits
mailing list