HomePhabricator

[Metadata] Fix layer violation in D91576

Authored by MaskRay on Dec 3 2020, 10:58 AM.

Description

[Metadata] Fix layer violation in D91576

There is a library layering issue. LLVMAnalysis provides llvm/Analysis/ScopedNoAliasAA.h and depends on LLVMCore.

LLVMCore provides llvm/IR/Metadata.cpp and it should not include a header file in LLVMAnalysis

Details

Committed
MaskRayDec 3 2020, 10:58 AM
Parents
rGe312b388ebad: Include Region.h in OperationSupport.h instead of forward declaring it (NFC)
Branches
Unknown
Tags
Unknown