[PATCH] D123846: [RS4GC] Prune inputs of BDV if they are BDV themselves

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 02:39:29 PDT 2022


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:939
+        // BDV itself, we'd return false. So explicitly check this case.
+        if (V == BDV)
+          return true;
----------------
What if `V->stripPointerCasts() == BDV`, will this still return false?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123846



More information about the llvm-commits mailing list