]> granicus.if.org Git - clang/commit
Implement bzero, memset, memmove builtins.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 22 Jul 2008 00:26:45 +0000 (00:26 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 22 Jul 2008 00:26:45 +0000 (00:26 +0000)
commit1caae959017b355e9bb61250d5a0d04edbf468b0
tree1b775158f195584252a56fef917267bb2c5749c2
parent4493f79fce48cd9cbd9f55fa9d452cde736747a0
Implement bzero, memset, memmove builtins.

This subsumes Nico Weber's patch and implements bzero in terms
of llvm.memset to match llvm-gcc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53888 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Builtins.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtin-memfns.c [new file with mode: 0644]