[all-commits] [llvm/llvm-project] fa5f77: [CodeGen] Include llvm/CodeGen/DFAPacketizer.h
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sun Dec 18 15:35:42 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fa5f77b162465408e9471edb15779d6cc99e1d19
https://github.com/llvm/llvm-project/commit/fa5f77b162465408e9471edb15779d6cc99e1d19
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-18 (Sun, 18 Dec 2022)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
Log Message:
-----------
[CodeGen] Include llvm/CodeGen/DFAPacketizer.h
This patch teaches MachinePipeliner.h to include
DFAPacketizer.h so that the header file is self contained.
Without this patch, a C++ source file that only includes
MachinePipeliner.h does not compile because the forward declaration of
DFAPacketizer is not enough for:
llvm::SmallVector<std::unique_ptr<DFAPacketizer>> DFAResources;
More information about the All-commits
mailing list