[PATCH] D139182: AArch64: add CodeGen support for FEAT_XS DSB instructions

Tim Northover via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 02:14:34 PST 2022


t.p.northover created this revision.
Herald added subscribers: hiraditya, kristof.beyls, mcrosier.
Herald added a project: All.
t.p.northover requested review of this revision.
Herald added projects: clang, LLVM.

The new variants like `dsb ishnxs` map naturally to CRm == {16, 20, 24, 28}, extending the existing space of immediates for `__builtin_arm_dsb`. This adds Clang and backend CodeGen support to emit them when processor support is present, and reasonable diagnostics when it's not.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139182

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Basic/Targets/AArch64.cpp
  clang/lib/Basic/Targets/AArch64.h
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Sema/builtins-arm64.c
  llvm/include/llvm/Support/AArch64TargetParser.def
  llvm/include/llvm/Support/AArch64TargetParser.h
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/dsb-xs.ll
  llvm/unittests/Support/TargetParserTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139182.479561.patch
Type: text/x-patch
Size: 12353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221202/61b1f0c7/attachment-0001.bin>


More information about the cfe-commits mailing list