[all-commits] [llvm/llvm-project] 67a3d1: [PowerPC] swdiv builtins for XL compatibility
Quinn Pham via All-commits
all-commits at lists.llvm.org
Wed Sep 29 09:31:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67a3d1e2755152608fcb1737f7d0519121e037b7
https://github.com/llvm/llvm-project/commit/67a3d1e2755152608fcb1737f7d0519121e037b7
Author: Quinn Pham <quinn.pham at ibm.com>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
M clang/include/clang/Basic/BuiltinsPPC.def
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGen/builtins-ppc-xlcompat-swdiv.c
M llvm/test/CodeGen/PowerPC/fdiv.ll
Log Message:
-----------
[PowerPC] swdiv builtins for XL compatibility
This patch is in a series of patches to provide builtins for compatibility with
the XL compiler. This patch implements the software divide builtin as
wrappers for a floating point divide. XL provided these builtins because it
didn't produce software estimates by default at `-Ofast`. When compiled
with `-Ofast` these builtins will produce the software estimate for divide.
Reviewed By: #powerpc, nemanjai
Differential Revision: https://reviews.llvm.org/D106959
More information about the All-commits
mailing list