https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69030
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'll note that valtrack.[ch] has some APIs that might be useful, at least they are used by both RTL DCE and DF note problem computation.