Remove unused includes, that were identified as being quiet heavy by clang build analyzer, saves compilation time.
Details
Diff Detail
Event Timeline
llvm/include/llvm/MCA/HWEventListener.h | ||
---|---|---|
69 | We need the full def, not just the forward declaration here though as we're actually instantiating ArrayRef<ResourceUse> in HWInstructionIssuedEvent, not just passing it in an arg. It looks like you're depending on ArrayRef.h include from one of the remaining headers (well, both actually...), which the style guide allows, but we typically don't tend to rely on that unless we only require the local use of the def because of the other header. https://llvm.org/docs/CodingStandards.html#include-as-little-as-possible |
llvm/include/llvm/MCA/HWEventListener.h | ||
---|---|---|
69 | Oh, yes, you are totally right. Will remove this change. |
This is needed.