This is an archive of the discontinued LLVM Phabricator instance.

[MTE] Remove redundant helper function.
ClosedPublic

Authored by fmayer on Jun 29 2021, 12:12 PM.

Details

Summary

Looking at PostDominatorTree::dominates, we can see that has the same
logic (with the addition of handling Phi nodes - which are not used as inputs in
this pass) as the helper function.

Diff Detail

Event Timeline

fmayer created this revision.Jun 29 2021, 12:12 PM
fmayer published this revision for review.Jun 29 2021, 12:18 PM
fmayer edited the summary of this revision. (Show Details)
fmayer added a reviewer: eugenis.
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2021, 12:18 PM
eugenis accepted this revision.Jun 29 2021, 2:50 PM

Ah interesting, PostDominatorTree::dominates has been added just a few months after our helper function: https://reviews.llvm.org/D68469 vs https://reviews.llvm.org/D70049.

LGTM

This revision is now accepted and ready to land.Jun 29 2021, 2:50 PM
This revision was landed with ongoing or failed builds.Jun 30 2021, 3:11 AM
This revision was automatically updated to reflect the committed changes.