[all-commits] [llvm/llvm-project] 1e7f02: PR46908: Emit undef destroying_delete_t as an aggr...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Jul 30 14:50:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e7f026c3b59bea22491819f86d8388d0c3e0c07
      https://github.com/llvm/llvm-project/commit/1e7f026c3b59bea22491819f86d8388d0c3e0c07
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp

  Log Message:
  -----------
  PR46908: Emit undef destroying_delete_t as an aggregate RValue.

We previously used a non-aggregate RValue to represent the passed value,
which violated the assumptions of call arg lowering in some cases, in
particular on 32-bit Windows, where we'd end up producing an FCA store
with TBAA metadata, that the IR verifier would reject.




More information about the All-commits mailing list