[all-commits] [llvm/llvm-project] d03d2d: [RS4GC] Prune inputs of BDV if they are BDV themse...

Dmitry Makogon via All-commits all-commits at lists.llvm.org
Tue Apr 26 02:06:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d03d2d8aeaa3454fa82f5740af27160508f0a2ad
      https://github.com/llvm/llvm-project/commit/d03d2d8aeaa3454fa82f5740af27160508f0a2ad
  Author: Dmitry Makogon <d.makogon at g.nsu.ru>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-14.ll

  Log Message:
  -----------
  [RS4GC] Prune inputs of BDV if they are BDV themselves

Don't check whether an input of BDV can be pruned if the input
is the BDV itself. BDV is present in the states map, so in case
the input is the BDV itself, we'd return false. So explicitly check this case.

Differential Revision: https://reviews.llvm.org/D123846




More information about the All-commits mailing list