[PATCH] D85473: [Clang] Add option to allow marking pass-by-value args as noalias.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 09:19:33 PDT 2020


fhahn updated this revision to Diff 290504.
fhahn marked an inline comment as done.
fhahn added a comment.

Change to codegen option, adjust description for option, limit to trivially copyable types in C++, add corresponding test cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85473/new/

https://reviews.llvm.org/D85473

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/pass-by-value-noalias.c
  clang/test/CodeGenCXX/pass-by-value-noalias.cpp
  clang/test/CodeGenObjC/pass-by-value-noalias.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85473.290504.patch
Type: text/x-patch
Size: 6021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200908/24613508/attachment.bin>


More information about the cfe-commits mailing list