[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)
Mingming Liu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 21 16:08:04 PDT 2025
================
@@ -386,6 +386,16 @@ MCSection *TargetLoweringObjectFile::getSectionForConstant(
return DataSection;
}
+MCSection *TargetLoweringObjectFile::getSectionForConstant(
+ const DataLayout &DL, SectionKind Kind, const Constant *C, Align &Alignment,
+ StringRef SectionPrefix) const {
+ // Fallback to `getSectionForConstant` without `SectionPrefix` parameter if it
+ // is empty.
+ if (SectionPrefix.empty())
----------------
mingmingl-llvm wrote:
done.
https://github.com/llvm/llvm-project/pull/129781
More information about the llvm-branch-commits
mailing list