File tree Expand file tree Collapse file tree 3 files changed +2
-15
lines changed Expand file tree Collapse file tree 3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,6 @@ template <> struct DenseMapInfo<MBBSectionID> {
100100 }
101101};
102102
103- struct PrefetchTarget {
104- StringRef TargetFunction;
105- UniqueBBID TargetBBID;
106- unsigned TargetBBOffset;
107- };
108-
109103template <> struct ilist_traits <MachineInstr> {
110104private:
111105 friend class MachineBasicBlock ; // Set by the owning MachineBasicBlock.
Original file line number Diff line number Diff line change @@ -123,9 +123,8 @@ class MachineInstr
123123 NoUSWrap = 1 << 20 , // Instruction supports geps
124124 // no unsigned signed wrap.
125125 SameSign = 1 << 21 , // Both operands have the same sign.
126- InBounds = 1 << 22 , // Pointer arithmetic remains inbounds.
126+ InBounds = 1 << 22 // Pointer arithmetic remains inbounds.
127127 // Implies NoUSWrap.
128- Prefetch = 1 << 23 , // Instruction is a prefetch.
129128 };
130129
131130private:
Original file line number Diff line number Diff line change 120120#include " llvm/Support/Format.h"
121121#include " llvm/Support/MathExtras.h"
122122#include " llvm/Support/Path.h"
123- #include " llvm/Support/SMLoc.h"
124123#include " llvm/Support/VCSRevision.h"
125124#include " llvm/Support/VirtualFileSystem.h"
126125#include " llvm/Support/raw_ostream.h"
@@ -180,11 +179,6 @@ static cl::opt<bool> EmitJumpTableSizesSection(
180179 cl::desc (" Emit a section containing jump table addresses and sizes" ),
181180 cl::Hidden, cl::init(false ));
182181
183- static cl::opt<bool > InsertNoopsForPrefetch (
184- " insert-noops-for-prefetch" ,
185- cl::desc (" Whether to insert noops instead of prefetches." ), cl::init(false ),
186- cl::Hidden);
187-
188182// This isn't turned on by default, since several of the scheduling models are
189183// not completely accurate, and we don't want to be misleading.
190184static cl::opt<bool > PrintLatency (
@@ -2131,7 +2125,7 @@ void AsmPrinter::emitFunctionBody() {
21312125 break ;
21322126 }
21332127 default :
2134- emitInstruction (&MI);
2128+ emitInstruction (&MI);
21352129
21362130 auto CountInstruction = [&](const MachineInstr &MI) {
21372131 // Skip Meta instructions inside bundles.
You can’t perform that action at this time.
0 commit comments