[all-commits] [llvm/llvm-project] 6c243b: AMDGPU: Validate processor and features in TargetI...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Jul 13 14:15:44 PDT 2026
Branch: refs/heads/users/arsenm/amdgpu-targetid-validation
Home: https://github.com/llvm/llvm-project
Commit: 6c243b8d55bfda494bd5b875d0133c0558d8e6d9
https://github.com/llvm/llvm-project/commit/6c243b8d55bfda494bd5b875d0133c0558d8e6d9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-07-13 (Mon, 13 Jul 2026)
Changed paths:
M llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/TargetParser/AMDGPUTargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
AMDGPU: Validate processor and features in TargetID parsing
TargetID::parseTargetIDString previously only checked that the string was
structurally a 4-component triple followed by a processor field. It
accepted unrecognized processors and silently ignored malformed or
unsupported feature modifiers. Work towards improving validation so in
the future clang's copy of TargetID can be replaced.
Co-authored-by: Claude (Opus 4.8)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list