[llvm] 0ed5ea9 - [CodeGen] Remove dead declarations (#219142)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 04:21:41 PDT 2026
Author: Kazu Hirata
Date: 2026-08-27T19:21:36+08:00
New Revision: 0ed5ea9e2d4c0042c4c100595751e28fd7f94d39
URL: https://github.com/llvm/llvm-project/commit/0ed5ea9e2d4c0042c4c100595751e28fd7f94d39
DIFF: https://github.com/llvm/llvm-project/commit/0ed5ea9e2d4c0042c4c100595751e28fd7f94d39.diff
LOG: [CodeGen] Remove dead declarations (#219142)
The corresponding function definitions were removed on November 17,
2025 in commit 472e4ab0b02d3dec001f885beb535c9d727d1ea2.
Added:
Modified:
llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
index 273841531a601..6674d07dad0f6 100644
--- a/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
+++ b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
@@ -33,22 +33,6 @@ struct LRStartEndInfo {
size_t Pos = 0;
};
-LLVM_ABI_FOR_TEST void extractInstructionFeatures(
- llvm::SmallVectorImpl<LRStartEndInfo> &LRPosInfo,
- MLModelRunner *RegallocRunner, function_ref<int(SlotIndex)> GetOpcode,
- function_ref<float(SlotIndex)> GetMBBFreq,
- function_ref<MachineBasicBlock *(SlotIndex)> GetMBBReference,
- const int InstructionsIndex, const int InstructionsMappingIndex,
- const int MBBFreqIndex, const int MBBMappingIndex,
- const SlotIndex LastIndex);
-
-LLVM_ABI_FOR_TEST void extractMBBFrequency(
- const SlotIndex CurrentIndex, const size_t CurrentInstructionIndex,
- std::map<MachineBasicBlock *, size_t> &VisitedMBBs,
- function_ref<float(SlotIndex)> GetMBBFreq,
- MachineBasicBlock *CurrentMBBReference, MLModelRunner *RegallocRunner,
- const int MBBFreqIndex, const int MBBMappingIndex);
-
// This is the maximum number of interfererring ranges. That's the number of
// distinct AllocationOrder values, which comes from MCRegisterClass::RegsSize.
// For X86, that's 32.
More information about the llvm-commits
mailing list