[PATCH] D105501: [PowerPC] Power ISA features for Semachecking

Quinn Pham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 9 14:40:29 PDT 2021


quinnp updated this revision to Diff 357644.
quinnp added a comment.

Parameterizing the ppc builtin arch sema error.

This change is made assuming that the SemaFeatureCheck will be used by other builtins in the future. SemaFeatureCheck is commented to avoid an unused function error when building the compiler. SemaArchFeatureCheck can be used to semacheck builtins which require a minimum version of PPC and require a feature to be enabled.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105501

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Basic/Targets/PPC.cpp
  clang/lib/Basic/Targets/PPC.h
  clang/lib/Sema/SemaChecking.cpp
  llvm/lib/Target/PowerPC/PPC.td
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/lib/Target/PowerPC/PPCSubtarget.cpp
  llvm/lib/Target/PowerPC/PPCSubtarget.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105501.357644.patch
Type: text/x-patch
Size: 8272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210709/fc914bcb/attachment.bin>


More information about the cfe-commits mailing list