5 Commits

Author SHA1 Message Date
Roman Lebedev
dcd5f6f2fd
[NFC] Port all RewriteStatepointsForGC tests to -passes= syntax 2022-12-07 22:22:08 +03:00
Dmitry Makogon
d03d2d8aea [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
2022-04-26 16:05:00 +07:00
Dmitry Makogon
084ad1ebee [Test] Add more tests showing duplicate PHIs generated by RS4GC (NFC)
This adds more tests with derived pointers.
2022-04-19 23:05:50 +07:00
Dmitry Makogon
6f8feeb342 [Test] Add more tests showing duplicate PHIs generated by RS4GC (NFC) 2022-04-18 17:39:06 +07:00
Dmitry Makogon
2603dcdd8d [Test] Add tests showing duplicate PHIs generated by RS4GC (NFC) 2022-04-13 15:51:17 +07:00