[PATCH] D138792: [AArch64] Improve TargetParser API

Tomas Matheson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 14:12:00 PST 2023


tmatheson updated this revision to Diff 488770.
tmatheson added a comment.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Reworked after several other major changes to the TargetParser since
this was reverted. Combined with several other approved changes.

Inline calls for the following macros and delete AArch64TargetParser.def:

  AARCH64_ARCH,  AARCH64_CPU_NAME,  AARCH64_CPU_ALIAS, AARCH64_ARCH_EXT_NAME

Don't use address comparison, use string comparison instead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138792/new/

https://reviews.llvm.org/D138792

Files:
  clang/lib/Basic/Targets/AArch64.cpp
  clang/lib/Basic/Targets/AArch64.h
  clang/lib/Driver/ToolChains/Arch/AArch64.cpp
  clang/test/Preprocessor/aarch64-target-features.c
  lldb/test/Shell/Commands/command-disassemble-aarch64-extensions.s
  llvm/include/llvm/ADT/StringRef.h
  llvm/include/llvm/Support/VersionTuple.h
  llvm/include/llvm/TargetParser/AArch64TargetParser.def
  llvm/include/llvm/TargetParser/AArch64TargetParser.h
  llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  llvm/lib/TargetParser/AArch64TargetParser.cpp
  llvm/unittests/TargetParser/TargetParserTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138792.488770.patch
Type: text/x-patch
Size: 129015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/ce5c27ce/attachment-0001.bin>


More information about the cfe-commits mailing list