[all-commits] [llvm/llvm-project] f608ce: [PowerPC] Implement trap and conversion builtins f...
Conanap via All-commits
all-commits at lists.llvm.org
Tue Jun 22 14:28:14 PDT 2021
Branch: refs/heads/conanap/xlcompat/phase1/issue2
Home: https://github.com/llvm/llvm-project
Commit: f608ce814517ea1f42506507e9db0403313ca42c
https://github.com/llvm/llvm-project/commit/f608ce814517ea1f42506507e9db0403313ca42c
Author: Albion Fung <albionapc at gmail.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M clang/include/clang/Basic/BuiltinsPPC.def
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Sema/SemaChecking.cpp
M llvm/include/llvm/IR/IntrinsicsPowerPC.td
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
A llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-conversionfunc.c
A llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-trap.c
Log Message:
-----------
[PowerPC] Implement trap and conversion builtins for XL compatibility
This patch implements trap and FP to and from double conversions. The builtins
generate code that mirror what is generated from the XL compiler. Intrinsics
are named conventionally with builtin_ppc, but are aliased to provide the same
builtin names as the XL compiler.
Differential Revision: https://reviews.llvm.org/D103668
More information about the All-commits
mailing list