[PATCH] D75815: [InstSimplify] Simplify calls with "returned" attribute

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 12:35:08 PDT 2020


jdoerfert added a comment.

In D75815#1925174 <https://reviews.llvm.org/D75815#1925174>, @thakis wrote:

> I'm seeing a crash that bisected to this too: https://bugs.chromium.org/p/chromium/issues/detail?id=1062010#c4
>
> I'll update that bug once creduce is done running, but I'll revert this for now to save others the work to bisect crashes caused by this.


@nickdesaulniers has a reproducer now: https://godbolt.org/z/TfTxjJ

I think the issue (somehow) is that the returned arg operand is a call again. Why that is a problem is unclear, some ordering in the inst-simplify worklist maybe.

I think we can revert this and fix it offline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75815





More information about the llvm-commits mailing list