[all-commits] [llvm/llvm-project] 48c70c: Extend memset-to-zero optimization to C++11 aggreg...

Richard Smith via All-commits all-commits at lists.llvm.org
Fri Oct 16 13:21:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 48c70c1664aa4512cb7e08352dd8eb33dde4807c
      https://github.com/llvm/llvm-project/commit/48c70c1664aa4512cb7e08352dd8eb33dde4807c
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp

  Log Message:
  -----------
  Extend memset-to-zero optimization to C++11 aggregate functional casts
Aggr{...}.

We previously missed these cases due to not stepping over the additional
AST nodes representing their syntactic form.




More information about the All-commits mailing list