Skip to content

Commit 1425d75

Browse files
[X86] Delete Profile Guided Prefetch Passes (#167317)
As the PGPF effort has been turned down, there is no current way to generate profiles that will be used by these passes. Current efforts are also focused around inserting prefetches in PLO optimizers, which have a more accurate view of how the code looks.
1 parent 05bd742 commit 1425d75

17 files changed

+0
-866
lines changed

llvm/lib/Target/X86/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ set(sources
3131
X86CmovConversion.cpp
3232
X86CodeGenPassBuilder.cpp
3333
X86DomainReassignment.cpp
34-
X86DiscriminateMemOps.cpp
3534
X86LowerTileCopy.cpp
3635
X86LowerAMXType.cpp
3736
X86LowerAMXIntrinsics.cpp
@@ -57,7 +56,6 @@ set(sources
5756
X86IndirectBranchTracking.cpp
5857
X86IndirectThunks.cpp
5958
X86InterleavedAccess.cpp
60-
X86InsertPrefetch.cpp
6159
X86InstCombineIntrinsic.cpp
6260
X86InstrFMA3Info.cpp
6361
X86InstrFoldTables.cpp

llvm/lib/Target/X86/X86.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,6 @@ FunctionPass *createX86IndirectThunksPass();
166166
/// This pass replaces ret instructions with jmp's to __x86_return thunk.
167167
FunctionPass *createX86ReturnThunksPass();
168168

169-
/// This pass ensures instructions featuring a memory operand
170-
/// have distinctive <LineNumber, Discriminator> (with respect to each other)
171-
FunctionPass *createX86DiscriminateMemOpsPass();
172-
173-
/// This pass applies profiling information to insert cache prefetches.
174-
FunctionPass *createX86InsertPrefetchPass();
175-
176169
/// This pass insert wait instruction after X87 instructions which could raise
177170
/// fp exceptions when strict-fp enabled.
178171
FunctionPass *createX86InsertX87waitPass();

llvm/lib/Target/X86/X86DiscriminateMemOps.cpp

Lines changed: 0 additions & 184 deletions
This file was deleted.

0 commit comments

Comments
 (0)