OSDN Git Service

Add __builtin_dcbf support for PPC
authorAhsan Saghir <saghir.ibm@gmail.com>
Mon, 29 Apr 2019 23:25:33 +0000 (23:25 +0000)
committerAhsan Saghir <saghir.ibm@gmail.com>
Mon, 29 Apr 2019 23:25:33 +0000 (23:25 +0000)
commit50257f1a7acc9c9ea20bfc52bf7414ea691d1b06
tree21b14108fb17b037e2fedc37c43d4f4300abc4e7
parent033bb22f7981e64cb4b97030b09324a5ae9742d0
Add __builtin_dcbf support for PPC

Summary:
This patch adds support for __builtin_dcbf for PPC.

__builtin_dcbf copies the contents of a modified block from the data cache
to main memory and flushes the copy from the data cache.

Differential revision: https://reviews.llvm.org/D59843

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359517 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsPowerPC.td
test/CodeGen/PowerPC/dcbf.ll [new file with mode: 0644]