[PATCH] D64392: CodeGen: Use memset for bytewise values with any size

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 9 01:47:09 PDT 2019


vitalybuka created this revision.
vitalybuka added reviewers: eugenis, pcc, jfb.
Herald added subscribers: cfe-commits, dexonsmith, javed.absar.
Herald added a project: clang.

It was already done for zeros, now we support any bytes


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64392

Files:
  clang/lib/CodeGen/CGDecl.cpp
  clang/test/CodeGen/arm-swiftcall.c
  clang/test/CodeGen/dump-struct-builtin.c
  clang/test/CodeGen/init-memset.c
  clang/test/CodeGen/windows-swiftcall.c
  clang/test/CodeGenCXX/auto-var-init.cpp
  clang/test/CodeGenCXX/references.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64392.208613.patch
Type: text/x-patch
Size: 48297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190709/6dff026d/attachment-0001.bin>


More information about the cfe-commits mailing list