https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106558
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If maybe_get_single_definition returns a SSA_NAME or is_gimple_min_invariant, then it is ok as is and doesn't need anything new. Otherwise I think we need to ask the alias oracle.