[Lldb-commits] [lldb] [lldb] Use TargetParser for AMDGPU architectures (PR #223192)
Matt Arsenault via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 14 12:02:53 PDT 2026
================
@@ -1031,6 +845,17 @@ void ArchSpec::MergeFrom(const ArchSpec &other) {
if (other.GetCore() != eCore_uknownMach64)
UpdateCore();
}
+ if (GetTriple().getArch() == llvm::Triple::amdgpu &&
+ other.GetTriple().getArch() == llvm::Triple::amdgpu) {
+ llvm::Triple::SubArchType sub_arch = GetTriple().getSubArch();
----------------
arsenm wrote:
Is this reinventing Triple::merge?
https://github.com/llvm/llvm-project/pull/223192
More information about the lldb-commits
mailing list