Add builtin and intrinsic for __addex.
This patch is part of a series of patches to provide builtins for
compatibility with the XL compiler.
Paths
| Differential D107002
[PowerPC] Implement XL compatibility builtin __addex ClosedPublic Authored by lei on Jul 28 2021, 1:49 PM.
Details Summary Add builtin and intrinsic for __addex. This patch is part of a series of patches to provide builtins for
Diff Detail
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 28 2021, 1:49 PM
This revision now requires changes to proceed.Jul 30 2021, 5:55 AM
lei marked 2 inline comments as done. Comment Actionsupdate sema check condition and remove duplicate tc
This revision is now accepted and ready to land.Aug 10 2021, 2:50 PM Closed by commit rG8930af45c35b: [PowerPC] Implement XL compatibility builtin __addex (authored by lei). · Explain WhyAug 12 2021, 2:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 362536 clang/include/clang/Basic/BuiltinsPPC.def
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/builtins-ppc-xlcompat-pwr9-64bit.c
clang/test/CodeGen/builtins-ppc-xlcompat-pwr9-error.c
clang/test/CodeGen/builtins-ppc-xlcompat-pwr9-warning.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/P9InstrResources.td
llvm/lib/Target/PowerPC/PPCInstr64Bit.td
llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-pwr9-64bit.ll
|
I think we start using isa-v30-instructions for pwr9 only (or later process) in SemaFeatureCheck