[llvm] 65b40f2 - RegAlloc: Rename MLRegalloc* files to use consistent captalization
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 3 06:03:26 PDT 2023
Author: Matt Arsenault
Date: 2023-09-03T09:00:27-04:00
New Revision: 65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e
URL: https://github.com/llvm/llvm-project/commit/65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e
DIFF: https://github.com/llvm/llvm-project/commit/65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e.diff
LOG: RegAlloc: Rename MLRegalloc* files to use consistent captalization
The other regalloc related files use RegAlloc, not Regalloc.
Added:
llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
llvm/test/CodeGen/MLRegAlloc/Inputs/input.ll
llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py
llvm/test/CodeGen/MLRegAlloc/Inputs/reference-log-noml.txt
llvm/test/CodeGen/MLRegAlloc/Inputs/reference-prio-log-noml.txt
llvm/test/CodeGen/MLRegAlloc/Inputs/two-large-fcts.ll
llvm/test/CodeGen/MLRegAlloc/bb-profile-dump.ll
llvm/test/CodeGen/MLRegAlloc/default-eviction-advisor.ll
llvm/test/CodeGen/MLRegAlloc/default-priority-advisor.ll
llvm/test/CodeGen/MLRegAlloc/dev-mode-extra-features-logging.ll
llvm/test/CodeGen/MLRegAlloc/dev-mode-log-2-fcts.ll
llvm/test/CodeGen/MLRegAlloc/dev-mode-logging.ll
llvm/test/CodeGen/MLRegAlloc/dev-mode-prio-logging.ll
llvm/test/CodeGen/MLRegAlloc/dev-rel-equivalence.ll
llvm/test/CodeGen/MLRegAlloc/empty-log.ll
llvm/test/CodeGen/MLRegAlloc/interactive-mode.ll
llvm/test/CodeGen/MLRegAlloc/lit.local.cfg
llvm/test/CodeGen/MLRegAlloc/rel-codepath.ll
llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
Modified:
.github/CODEOWNERS
clang/docs/tools/clang-formatted-files.txt
llvm/lib/Analysis/models/interactive_host.py
llvm/lib/CodeGen/CMakeLists.txt
llvm/unittests/CodeGen/CMakeLists.txt
llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
Removed:
llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
llvm/lib/CodeGen/MLRegallocEvictAdvisor.h
llvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp
llvm/test/CodeGen/MLRegalloc/Inputs/input.ll
llvm/test/CodeGen/MLRegalloc/Inputs/interactive_main.py
llvm/test/CodeGen/MLRegalloc/Inputs/reference-log-noml.txt
llvm/test/CodeGen/MLRegalloc/Inputs/reference-prio-log-noml.txt
llvm/test/CodeGen/MLRegalloc/Inputs/two-large-fcts.ll
llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
llvm/test/CodeGen/MLRegalloc/default-priority-advisor.ll
llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
llvm/test/CodeGen/MLRegalloc/dev-mode-log-2-fcts.ll
llvm/test/CodeGen/MLRegalloc/dev-mode-logging.ll
llvm/test/CodeGen/MLRegalloc/dev-mode-prio-logging.ll
llvm/test/CodeGen/MLRegalloc/dev-rel-equivalence.ll
llvm/test/CodeGen/MLRegalloc/empty-log.ll
llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
llvm/test/CodeGen/MLRegalloc/lit.local.cfg
llvm/test/CodeGen/MLRegalloc/rel-codepath.ll
llvm/unittests/CodeGen/MLRegallocDevelopmentFeatures.cpp
################################################################################
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index aa80b55eb32334e..2e56b4a476442f3 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -541,5 +541,5 @@ utils/bazel/llvm-project-overlay/libc/** @llvm/pr-subscribers-libc
/llvm/test/Transforms/inline/ML/ @llvm/pr-subscribers-mlgo
/llvm/lib/CodeGen/ML* @llvm/pr-subscribers-mlgo
/llvm/unittests/CodeGen/ML* @llvm/pr-subscribers-mlgo
-/llvm/test/CodeGen/MLRegalloc/ @llvm/pr-subscribers-mlgo
+/llvm/test/CodeGen/MLRegAlloc/ @llvm/pr-subscribers-mlgo
diff --git a/clang/docs/tools/clang-formatted-files.txt b/clang/docs/tools/clang-formatted-files.txt
index 648b2401c32d18f..16f84727117e28d 100644
--- a/clang/docs/tools/clang-formatted-files.txt
+++ b/clang/docs/tools/clang-formatted-files.txt
@@ -5800,7 +5800,7 @@ llvm/lib/CodeGen/MIRPrintingPass.cpp
llvm/lib/CodeGen/MIRSampleProfile.cpp
llvm/lib/CodeGen/MIRVRegNamerUtils.cpp
llvm/lib/CodeGen/MIRYamlMapping.cpp
-llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
+llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
llvm/lib/CodeGen/MultiHazardRecognizer.cpp
llvm/lib/CodeGen/NonRelocatableStringpool.cpp
llvm/lib/CodeGen/ParallelCG.cpp
diff --git a/llvm/lib/Analysis/models/interactive_host.py b/llvm/lib/Analysis/models/interactive_host.py
index 759c791614a1da0..f2c2b640e7f4f2a 100644
--- a/llvm/lib/Analysis/models/interactive_host.py
+++ b/llvm/lib/Analysis/models/interactive_host.py
@@ -8,7 +8,7 @@
Examples:
test/Transforms/Inline/ML/interactive-mode.ll
-test/CodeGen/MLRegalloc/interactive-mode.ll
+test/CodeGen/MLRegAlloc/interactive-mode.ll
"""
import ctypes
diff --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt
index 31dbe5c84636a45..389c70d04f17ba3 100644
--- a/llvm/lib/CodeGen/CMakeLists.txt
+++ b/llvm/lib/CodeGen/CMakeLists.txt
@@ -12,8 +12,8 @@ if (DEFINED LLVM_HAVE_TF_AOT OR LLVM_HAVE_TFLITE)
"../Analysis/models/gen-regalloc-eviction-test-model.py"
serve
action
- RegallocEvictModel
- llvm::RegallocEvictModel
+ RegAllocEvictModel
+ llvm::RegAllocEvictModel
)
endif()
@@ -162,8 +162,8 @@ add_llvm_component_library(LLVMCodeGen
MIRFSDiscriminator.cpp
MIRSampleProfile.cpp
MIRYamlMapping.cpp
- MLRegallocEvictAdvisor.cpp
- MLRegallocPriorityAdvisor.cpp
+ MLRegAllocEvictAdvisor.cpp
+ MLRegAllocPriorityAdvisor.cpp
ModuloSchedule.cpp
MultiHazardRecognizer.cpp
PatchableFunction.cpp
diff --git a/llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
similarity index 99%
rename from llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
rename to llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
index 7b3746fde503e0c..114e7910dc27bbd 100644
--- a/llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
+++ b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
@@ -21,7 +21,7 @@
#include "llvm/Analysis/NoInferenceModelRunner.h"
#include "llvm/Analysis/Utils/TrainingLogger.h"
#endif
-#include "MLRegallocEvictAdvisor.h"
+#include "MLRegAllocEvictAdvisor.h"
#include "llvm/Analysis/ReleaseModeModelRunner.h"
#include "llvm/CodeGen/CalcSpillWeights.h"
#include "llvm/CodeGen/LiveRegMatrix.h"
@@ -48,8 +48,8 @@ using namespace llvm;
// Generated header in release (AOT) mode
#if defined(LLVM_HAVE_TF_AOT_REGALLOCEVICTMODEL)
-#include "RegallocEvictModel.h"
-using CompiledModelType = RegallocEvictModel;
+#include "RegAllocEvictModel.h"
+using CompiledModelType = RegAllocEvictModel;
#else
using CompiledModelType = NoopSavedModelImpl;
#endif
diff --git a/llvm/lib/CodeGen/MLRegallocEvictAdvisor.h b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
similarity index 100%
rename from llvm/lib/CodeGen/MLRegallocEvictAdvisor.h
rename to llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
diff --git a/llvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp b/llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
similarity index 100%
rename from llvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp
rename to llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
diff --git a/llvm/test/CodeGen/MLRegalloc/Inputs/input.ll b/llvm/test/CodeGen/MLRegAlloc/Inputs/input.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/Inputs/input.ll
rename to llvm/test/CodeGen/MLRegAlloc/Inputs/input.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/Inputs/interactive_main.py b/llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/Inputs/interactive_main.py
rename to llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py
diff --git a/llvm/test/CodeGen/MLRegalloc/Inputs/reference-log-noml.txt b/llvm/test/CodeGen/MLRegAlloc/Inputs/reference-log-noml.txt
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/Inputs/reference-log-noml.txt
rename to llvm/test/CodeGen/MLRegAlloc/Inputs/reference-log-noml.txt
diff --git a/llvm/test/CodeGen/MLRegalloc/Inputs/reference-prio-log-noml.txt b/llvm/test/CodeGen/MLRegAlloc/Inputs/reference-prio-log-noml.txt
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/Inputs/reference-prio-log-noml.txt
rename to llvm/test/CodeGen/MLRegAlloc/Inputs/reference-prio-log-noml.txt
diff --git a/llvm/test/CodeGen/MLRegalloc/Inputs/two-large-fcts.ll b/llvm/test/CodeGen/MLRegAlloc/Inputs/two-large-fcts.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/Inputs/two-large-fcts.ll
rename to llvm/test/CodeGen/MLRegAlloc/Inputs/two-large-fcts.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll b/llvm/test/CodeGen/MLRegAlloc/bb-profile-dump.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
rename to llvm/test/CodeGen/MLRegAlloc/bb-profile-dump.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll b/llvm/test/CodeGen/MLRegAlloc/default-eviction-advisor.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
rename to llvm/test/CodeGen/MLRegAlloc/default-eviction-advisor.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/default-priority-advisor.ll b/llvm/test/CodeGen/MLRegAlloc/default-priority-advisor.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/default-priority-advisor.ll
rename to llvm/test/CodeGen/MLRegAlloc/default-priority-advisor.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll b/llvm/test/CodeGen/MLRegAlloc/dev-mode-extra-features-logging.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
rename to llvm/test/CodeGen/MLRegAlloc/dev-mode-extra-features-logging.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/dev-mode-log-2-fcts.ll b/llvm/test/CodeGen/MLRegAlloc/dev-mode-log-2-fcts.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/dev-mode-log-2-fcts.ll
rename to llvm/test/CodeGen/MLRegAlloc/dev-mode-log-2-fcts.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/dev-mode-logging.ll b/llvm/test/CodeGen/MLRegAlloc/dev-mode-logging.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/dev-mode-logging.ll
rename to llvm/test/CodeGen/MLRegAlloc/dev-mode-logging.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/dev-mode-prio-logging.ll b/llvm/test/CodeGen/MLRegAlloc/dev-mode-prio-logging.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/dev-mode-prio-logging.ll
rename to llvm/test/CodeGen/MLRegAlloc/dev-mode-prio-logging.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/dev-rel-equivalence.ll b/llvm/test/CodeGen/MLRegAlloc/dev-rel-equivalence.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/dev-rel-equivalence.ll
rename to llvm/test/CodeGen/MLRegAlloc/dev-rel-equivalence.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/empty-log.ll b/llvm/test/CodeGen/MLRegAlloc/empty-log.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/empty-log.ll
rename to llvm/test/CodeGen/MLRegAlloc/empty-log.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/interactive-mode.ll b/llvm/test/CodeGen/MLRegAlloc/interactive-mode.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
rename to llvm/test/CodeGen/MLRegAlloc/interactive-mode.ll
diff --git a/llvm/test/CodeGen/MLRegalloc/lit.local.cfg b/llvm/test/CodeGen/MLRegAlloc/lit.local.cfg
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/lit.local.cfg
rename to llvm/test/CodeGen/MLRegAlloc/lit.local.cfg
diff --git a/llvm/test/CodeGen/MLRegalloc/rel-codepath.ll b/llvm/test/CodeGen/MLRegAlloc/rel-codepath.ll
similarity index 100%
rename from llvm/test/CodeGen/MLRegalloc/rel-codepath.ll
rename to llvm/test/CodeGen/MLRegAlloc/rel-codepath.ll
diff --git a/llvm/unittests/CodeGen/CMakeLists.txt b/llvm/unittests/CodeGen/CMakeLists.txt
index dc47174b9513ef7..fa6c9cf7c5aebf0 100644
--- a/llvm/unittests/CodeGen/CMakeLists.txt
+++ b/llvm/unittests/CodeGen/CMakeLists.txt
@@ -40,7 +40,7 @@ add_llvm_unittest(CodeGenTests
TypeTraitsTest.cpp
TargetOptionsTest.cpp
TestAsmPrinter.cpp
- MLRegallocDevelopmentFeatures.cpp
+ MLRegAllocDevelopmentFeatures.cpp
)
add_subdirectory(GlobalISel)
diff --git a/llvm/unittests/CodeGen/MLRegallocDevelopmentFeatures.cpp b/llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
similarity index 92%
rename from llvm/unittests/CodeGen/MLRegallocDevelopmentFeatures.cpp
rename to llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
index b65ca35ef9a8303..bc2d8729474d767 100644
--- a/llvm/unittests/CodeGen/MLRegallocDevelopmentFeatures.cpp
+++ b/llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
@@ -1,4 +1,4 @@
-//===- MLRegAllocDevelopmentFeatures.cpp - test dev MLRegalloc features ---===//
+//===- MLRegAllocDevelopmentFeatures.cpp - test dev MLRegAlloc features ---===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "../../lib/CodeGen/MLRegallocEvictAdvisor.h"
+#include "../../lib/CodeGen/MLRegAllocEvictAdvisor.h"
#include "llvm/Analysis/NoInferenceModelRunner.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
@@ -42,7 +42,7 @@ struct LRPosInfoIndexes {
size_t PhysReg;
};
-class RegallocDevelopmentFeaturesTest : public ::Test {
+class RegAllocDevelopmentFeaturesTest : public ::Test {
protected:
SmallVector<LRStartEndInfo>
setupOverlapProblem(const SmallVectorImpl<LRPosInfoIndexes> &Segments,
@@ -139,7 +139,7 @@ class RegallocDevelopmentFeaturesTest : public ::Test {
// meta tests to ensure that test setup works correctly
-TEST_F(RegallocDevelopmentFeaturesTest,
+TEST_F(RegAllocDevelopmentFeaturesTest,
MetaOverlapInstructionDistancesAreCorrect) {
SmallVector<LRPosInfoIndexes, 2> OverlapSetup;
OverlapSetup.push_back({0, 5, 0});
@@ -151,7 +151,7 @@ TEST_F(RegallocDevelopmentFeaturesTest,
ASSERT_EQ(OverlapProblem[0].End.distance(OverlapProblem[1].Begin), 0);
}
-TEST_F(RegallocDevelopmentFeaturesTest, MetaSlotIndicesAreValid) {
+TEST_F(RegAllocDevelopmentFeaturesTest, MetaSlotIndicesAreValid) {
SmallVector<LRPosInfoIndexes, 1> OverlapSetup;
OverlapSetup.push_back({0, 10, 0});
ilist<IndexListEntry> IndexList;
@@ -162,7 +162,7 @@ TEST_F(RegallocDevelopmentFeaturesTest, MetaSlotIndicesAreValid) {
// Testing of feature extraction for per-instruction features
-TEST_F(RegallocDevelopmentFeaturesTest, InstructionOpcodesAreCorrect) {
+TEST_F(RegAllocDevelopmentFeaturesTest, InstructionOpcodesAreCorrect) {
SmallVector<LRPosInfoIndexes, 1> OverlapSetup;
OverlapSetup.push_back({0, ModelMaxSupportedInstructionCount - 1, 0});
ilist<IndexListEntry> IndexList;
@@ -187,35 +187,35 @@ TEST_F(RegallocDevelopmentFeaturesTest, InstructionOpcodesAreCorrect) {
}
}
-TEST_F(RegallocDevelopmentFeaturesTest, FullOverlap) {
+TEST_F(RegAllocDevelopmentFeaturesTest, FullOverlap) {
SmallVector<LRPosInfoIndexes, 2> OverlapSetup;
OverlapSetup.push_back({0, ModelMaxSupportedInstructionCount - 1, 0});
OverlapSetup.push_back({0, ModelMaxSupportedInstructionCount - 1, 1});
runOverlapTest(OverlapSetup);
}
-TEST_F(RegallocDevelopmentFeaturesTest, PartialOverlap) {
+TEST_F(RegAllocDevelopmentFeaturesTest, PartialOverlap) {
SmallVector<LRPosInfoIndexes, 2> OverlapSetup;
OverlapSetup.push_back({0, 20, 0});
OverlapSetup.push_back({15, 30, 1});
runOverlapTest(OverlapSetup);
}
-TEST_F(RegallocDevelopmentFeaturesTest, PartialOverlapOpposite) {
+TEST_F(RegAllocDevelopmentFeaturesTest, PartialOverlapOpposite) {
SmallVector<LRPosInfoIndexes, 2> OverlapSetup;
OverlapSetup.push_back({15, 30, 1});
OverlapSetup.push_back({0, 20, 0});
runOverlapTest(OverlapSetup);
}
-TEST_F(RegallocDevelopmentFeaturesTest, InternalOverlap) {
+TEST_F(RegAllocDevelopmentFeaturesTest, InternalOverlap) {
SmallVector<LRPosInfoIndexes, 2> OverlapSetup;
OverlapSetup.push_back({0, 30, 0});
OverlapSetup.push_back({10, 20, 1});
runOverlapTest(OverlapSetup);
}
-TEST_F(RegallocDevelopmentFeaturesTest, TripleInternalOverlap) {
+TEST_F(RegAllocDevelopmentFeaturesTest, TripleInternalOverlap) {
SmallVector<LRPosInfoIndexes, 3> OverlapSetup;
OverlapSetup.push_back({0, 30, 0});
OverlapSetup.push_back({10, 25, 1});
@@ -223,7 +223,7 @@ TEST_F(RegallocDevelopmentFeaturesTest, TripleInternalOverlap) {
runOverlapTest(OverlapSetup);
}
-TEST_F(RegallocDevelopmentFeaturesTest, InternalMultiOverlap) {
+TEST_F(RegAllocDevelopmentFeaturesTest, InternalMultiOverlap) {
SmallVector<LRPosInfoIndexes, 3> OverlapSetup;
OverlapSetup.push_back({0, 45, 0});
OverlapSetup.push_back({30, 40, 1});
@@ -231,7 +231,7 @@ TEST_F(RegallocDevelopmentFeaturesTest, InternalMultiOverlap) {
runOverlapTest(OverlapSetup);
}
-TEST_F(RegallocDevelopmentFeaturesTest, SingleMBBTest) {
+TEST_F(RegAllocDevelopmentFeaturesTest, SingleMBBTest) {
NoInferenceModelRunner ModelRunner = setupModelRunner();
SlotIndex CurrentIndex;
// set index to 1 so we can ensure that the mapping actually get set
@@ -244,7 +244,7 @@ TEST_F(RegallocDevelopmentFeaturesTest, SingleMBBTest) {
ASSERT_EQ(ModelRunner.getTensor<int64_t>(3)[0], 1);
}
-TEST_F(RegallocDevelopmentFeaturesTest, MBBFullTruncated) {
+TEST_F(RegAllocDevelopmentFeaturesTest, MBBFullTruncated) {
SmallVector<LRPosInfoIndexes, 1> OverlapSetup;
OverlapSetup.push_back({0, ModelMaxSupportedInstructionCount - 1, 0});
ilist<IndexListEntry> IndexList;
diff --git a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
index 5e0fb26c44d492a..cba8e7db3ccf7c8 100644
--- a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
@@ -128,8 +128,8 @@ static_library("CodeGen") {
"MIRSampleProfile.cpp",
"MIRVRegNamerUtils.cpp",
"MIRYamlMapping.cpp",
- "MLRegallocEvictAdvisor.cpp",
- "MLRegallocPriorityAdvisor.cpp",
+ "MLRegAllocEvictAdvisor.cpp",
+ "MLRegAllocPriorityAdvisor.cpp",
"MachineBasicBlock.cpp",
"MachineBlockFrequencyInfo.cpp",
"MachineBlockPlacement.cpp",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
index 176c8c499966f9a..8aff3e4d230e414 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
@@ -30,7 +30,7 @@ unittest("CodeGenTests") {
"InstrRefLDVTest.cpp",
"LexicalScopesTest.cpp",
"LowLevelTypeTest.cpp",
- "MLRegallocDevelopmentFeatures.cpp",
+ "MLRegAllocDevelopmentFeatures.cpp",
"MachineBasicBlockTest.cpp",
"MachineInstrBundleIteratorTest.cpp",
"MachineInstrTest.cpp",
More information about the llvm-commits
mailing list