[NFC] CodeGen: rename memset to bzero
authorJF Bastien <jfbastien@apple.com>
Fri, 20 Jul 2018 23:37:12 +0000 (23:37 +0000)
committerJF Bastien <jfbastien@apple.com>
Fri, 20 Jul 2018 23:37:12 +0000 (23:37 +0000)
commited92f608bb0f138342aa0280e7b6899b5ff732ba
tree61a88f36f07650b46e251f16e30347aa1c4af1e2
parent8d12fc19076a86c1494602adc5a52dbc3daf8662
[NFC] CodeGen: rename memset to bzero

The optimization looks for opportunities to emit bzero, not memset. Rename the functions accordingly (and clang-format the diff) because I want to add a fallback optimization which actually tries to generate memset. bzero is still better and it would confuse the code to merge both.

llvm-svn: 337636
clang/lib/CodeGen/CGDecl.cpp