[llvm-branch-commits] [llvm] [MC] Preserve target MCSubtargetInfo subclass in MCContext::getSubtargetCopy (PR #227562)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 30 14:52:55 PDT 2026
================
@@ -949,7 +949,7 @@ MCSectionDXContainer *MCContext::getDXContainerSection(StringRef Section,
}
MCSubtargetInfo &MCContext::getSubtargetCopy(const MCSubtargetInfo &STI) {
----------------
arsenm wrote:
Seems like getSubtargetCopy shouldn't exist? Where is this used? If we're going to have this hack, can it be isolated to either the MCContext or MCSubtargetInfo instead of the shim here?
https://github.com/llvm/llvm-project/pull/227562
More information about the llvm-branch-commits
mailing list