[PATCH] D42907: BitTracker.h needs a full definition of MachineInstr, so include the defining file.
Dean Sturtevant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 07:03:30 PST 2018
deansturtevant created this revision.
deansturtevant added a reviewer: bkramer.
Herald added a subscriber: llvm-commits.
BitTracker.h needs a full definition of MachineInstr, so include the defining file.
Repository:
rL LLVM
https://reviews.llvm.org/D42907
Files:
lib/Target/Hexagon/BitTracker.h
Index: lib/Target/Hexagon/BitTracker.h
===================================================================
--- lib/Target/Hexagon/BitTracker.h
+++ lib/Target/Hexagon/BitTracker.h
@@ -13,6 +13,7 @@
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
+#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include <cassert>
#include <cstdint>
@@ -28,7 +29,6 @@
class MachineRegisterInfo;
class MachineBasicBlock;
class MachineFunction;
-class MachineInstr;
class raw_ostream;
class TargetRegisterClass;
class TargetRegisterInfo;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42907.132825.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180205/834419f9/attachment.bin>
More information about the llvm-commits
mailing list