[PowerPC][NFC] Power ISA features for Semachecking
authorVictor Huang <wei.huang@ibm.com>
Tue, 13 Jul 2021 18:12:58 +0000 (13:12 -0500)
committerVictor Huang <wei.huang@ibm.com>
Tue, 13 Jul 2021 18:13:34 +0000 (13:13 -0500)
commit781929b4236bc34681fb0783cf7b6021109fe28b
tree5255a362e7dd2081d61ca99dbcb74ffbe5b9b332
parente4585d3f4e1f076ff12db65259924492f5912b19
[PowerPC][NFC] Power ISA features for Semachecking

[NFC] This patch adds features for pwr7, pwr8, and pwr9 that can be
used for semachecking builtin functions that are only valid for certain
versions of ppc.

Reviewed By: nemanjai, #powerpc
Authored By: Quinn Pham <Quinn.Pham@ibm.com>

Differential revision: https://reviews.llvm.org/D105501
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/PPC.h
clang/lib/Sema/SemaChecking.cpp
clang/test/Driver/ppc-isa-features.cpp [new file with mode: 0644]
llvm/lib/Target/PowerPC/PPC.td
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCSubtarget.cpp
llvm/lib/Target/PowerPC/PPCSubtarget.h