[all-commits] [llvm/llvm-project] 1ebfe9: [TargetParser] Split AArch64TargetParser from ARMT...
tmatheson-arm via All-commits
all-commits at lists.llvm.org
Tue Nov 15 01:01:09 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ebfe9b264bb0b7c48789748b737b8687de28639
https://github.com/llvm/llvm-project/commit/1ebfe9b264bb0b7c48789748b737b8687de28639
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M llvm/include/llvm/Support/AArch64TargetParser.def
M llvm/include/llvm/Support/AArch64TargetParser.h
M llvm/include/llvm/Support/ARMTargetParser.h
A llvm/include/llvm/Support/ARMTargetParserCommon.h
M llvm/lib/Support/AArch64TargetParser.cpp
M llvm/lib/Support/ARMTargetParser.cpp
A llvm/lib/Support/ARMTargetParserCommon.cpp
M llvm/lib/Support/CMakeLists.txt
M llvm/unittests/Support/TargetParserTest.cpp
Log Message:
-----------
[TargetParser] Split AArch64TargetParser from ARMTargetParser
AArch64TargetParser reuses data structures and some data from ARMTargetParser,
which causes more problems than it solves. This change separates them.
Code which is common to ARM and AArch64 is moved to ARMTargetParserCommon
which both ARMTargetParser and AArch64TargetParser use.
Some of the information in AArch64TargetParser.def was unused or nonsensical
(CPU_ATTR, ARCH_ATTR, ARCH_FPU) because it reused data strutures from
ARMTargetParser where some of these make sense. These are removed.
Differential Revision: https://reviews.llvm.org/D137924
More information about the All-commits
mailing list