[PATCH] D102443: [PowerPC] Added multiple PowerPC builtins

Quinn Pham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 14:20:54 PDT 2021


quinnp created this revision.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
quinnp requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102443

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/test/CodeGen/builtins-ppc-xlcompat-sync.c
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-msync.ll
  llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-sync.ll
  llvm/test/CodeGen/PowerPC/eieio.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102443.345285.patch
Type: text/x-patch
Size: 13599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/0eef6261/attachment.bin>


More information about the llvm-commits mailing list