[PATCH] D75704: [RS4GC] Handle uses of extractelement for conversion from vector to scalar base

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 15:21:43 PST 2020


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


================
Comment at: llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:959
+        if (!isa<VectorType>(UseI->getType()) && States[UseI] == State)
+          States[UseI] = BDVState(BDVState::Base, BaseInst);
+      }
----------------
Just realized this won't work in all cases since the base ptr identified may not dominate the derived ptr. Needs fixing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75704





More information about the llvm-commits mailing list