[PATCH] D59843: [PowerPC] Add support for __dcbf builtin

Ahsan Saghir via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 13:49:49 PDT 2019


saghir created this revision.
saghir added reviewers: llvm-commits, kbarton, nemanjai, stefanp, lei, amyk.
Herald added a subscriber: jsji.
Herald added a project: LLVM.

This patch is intended to add support for __dcbf builtin.

Purpose:
Data Cache Block Flush: Copies the contents of a modified block from the data cache to main memory and flushes the copy from the data cache.

Prototype:
void __dcbf(const void* addr);


Repository:
  rL LLVM

https://reviews.llvm.org/D59843

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/test/CodeGen/builtins-ppc-cache.c
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/test/CodeGen/PowerPC/dcbf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59843.192344.patch
Type: text/x-patch
Size: 2959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190326/93bce163/attachment.bin>


More information about the llvm-commits mailing list