[PATCH] D101704: [IR] Introduce the opaque pointer type

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 2 10:49:50 PDT 2021


aeubanks added a comment.

In D101704#2852369 <https://reviews.llvm.org/D101704#2852369>, @fhahn wrote:

> It looks like the `assert(!isOpaque())` assertion in `getElementType` triggers when parsing certain bitcode with `sret` types: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35708

If I had to guess, the fuzzer is creating an opaque pointer with a sret attribute but without the sret type, which should never be emitted. https://reviews.llvm.org/D105138 should have fixed these sorts of issues for opaque pointers with a proper sret attribute with the sret type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101704



More information about the llvm-commits mailing list