Skip to content

Commit 499cc48

Browse files
rnkeymay
authored andcommitted
Adjust includes in MCTargetDesc to avoid unnecessary CodeGen deps, NFC
These are small include-only changes in the AArch64 and ARM backends that seem sufficiently small to commit separately without review. See issue llvm#64166 for more information about layering.
1 parent 52a70b8 commit 499cc48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
#include "AArch64TargetStreamer.h"
1414
#include "AArch64MCAsmInfo.h"
15-
#include "AArch64Subtarget.h"
1615
#include "llvm/BinaryFormat/ELF.h"
1716
#include "llvm/MC/ConstantPools.h"
1817
#include "llvm/MC/MCContext.h"

llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#include "ARMRegisterInfo.h"
15+
#include "ARMMCTargetDesc.h"
1616
#include "ARMUnwindOpAsm.h"
17+
#include "Utils/ARMBaseInfo.h"
1718
#include "llvm/ADT/DenseMap.h"
1819
#include "llvm/ADT/SmallString.h"
1920
#include "llvm/ADT/SmallVector.h"

0 commit comments

Comments
 (0)