[all-commits] [llvm/llvm-project] 0268e1: [PowerPC] swdiv_nochk Builtins for XL Compat

Kamau Bridgeman via All-commits all-commits at lists.llvm.org
Mon Jul 19 14:51:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0268e123bea5bbfe64c625203cfe3b159e85b2dc
      https://github.com/llvm/llvm-project/commit/0268e123bea5bbfe64c625203cfe3b159e85b2dc
  Author: Quinn Pham <quinn.pham at ibm.com>
  Date:   2021-07-19 (Mon, 19 Jul 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_nochk.c

  Log Message:
  -----------
  [PowerPC] swdiv_nochk Builtins for XL Compat

This patch is in a series of patches to provide builtins for
compatibility with the XL compiler. This patch adds software divide
builtins with no checking. These builtins are each emitted as a fast
fdiv.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D106150




More information about the All-commits mailing list