[PATCH] D64656: Ensure placeholder instruction for cleanup is created

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 13 07:53:27 PDT 2019


lebedev.ri added a comment.

In D64656#1584424 <https://reviews.llvm.org/D64656#1584424>, @lebedev.ri wrote:

> Hm, i have a question about this fix.
>  As it can be seen the C++17 code is successfully codegened by clang to LLVM IR, and the actual failure is in LLVM middle-end optimization pass:
>  https://godbolt.org/z/P3RB23
>
> 1. Please file a bug about that pass crash, include that link. It most definitively should not crash.


As i can now see, there is one in https://bugs.llvm.org/show_bug.cgi?id=40771

> 2. Is this fix just workarounding that crash, or is the clang producing incorrect IR without this fix, miscompiling it?




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64656





More information about the cfe-commits mailing list