This is an archive of the discontinued LLVM Phabricator instance.

IR: move the declaration of `VerifyDomInfo` (NFC)
ClosedPublic

Authored by compnerd on Sep 7 2021, 2:46 PM.

Details

Summary

This moves the declaration of VerifyDomInfo into
llvm/IR/Dominators.h from llvm/Support/Debug.h. Although this is a
debugging utility, the definition of the symbol is in LLVMIR, not in
LLVMSupport. This moves the declaration to the containing modules'
header.

Diff Detail

Event Timeline

compnerd created this revision.Sep 7 2021, 2:46 PM
compnerd requested review of this revision.Sep 7 2021, 2:46 PM
compnerd added a reviewer: mehdi_amini.
rnk accepted this revision.Sep 7 2021, 3:09 PM

lgtm

This revision is now accepted and ready to land.Sep 7 2021, 3:09 PM
mehdi_amini accepted this revision.Sep 7 2021, 6:11 PM

Makes sense to me to align headers and libraries!

This revision was automatically updated to reflect the committed changes.