[PATCH] D122471: [IR] Require intrinsic struct return type to be anonymous

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 07:18:28 PDT 2022


uabelho added a comment.

In D122471#3416528 <https://reviews.llvm.org/D122471#3416528>, @uabelho wrote:

> Hello,
>
> No idea what is happening yet but I've seen some pretty nasty memory consumption by opt that I bisected to this patch.
>
> Any idea what could be going on?
>
> I'll see if I can see if I can extract some reproducer.

It seems like it's the actual reading of the input file that hangs and just eats more and more memory. So

  opt foo.bc -o foo.opt.bc

hangs, and this happens when the input contains a call to an intrinsic we've added downstream that returns a named struct type-
Do we need to update our intrinsic definitions?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122471



More information about the llvm-commits mailing list