[all-commits] [llvm/llvm-project] 62b5df: [PowerPC] Added multiple PowerPC builtins

stefanp-ibm via All-commits all-commits at lists.llvm.org
Thu May 27 14:23:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62b5df7fe2b3fda1772befeda15598fbef96a614
      https://github.com/llvm/llvm-project/commit/62b5df7fe2b3fda1772befeda15598fbef96a614
  Author: Quinn Pham <Quinn.Pham at ibm.com>
  Date:   2021-05-27 (Thu, 27 May 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Basic/Targets/PPC.h
    A clang/test/CodeGen/builtins-ppc-xlcompat-sync.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    A llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-msync.ll
    A llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-sync.ll
    M llvm/test/CodeGen/PowerPC/eieio.ll

  Log Message:
  -----------
  [PowerPC] Added multiple PowerPC builtins

This is the first in a series of patches to provide builtins for
compatibility with the XL compiler. Most of the builtins already had
intrinsics and only needed to be implemented in the front end.
Intrinsics were created for the three iospace builtins, eieio, and icbt.
Pseudo instructions were created for eieio and iospace_eieio to
ensure that nops were inserted before the eieio instruction.

Reviewed By: nemanjai, #powerpc

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




More information about the All-commits mailing list