[PATCH] D93990: [InstSimplify] Return poison if insertelement touches out of bounds

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 3 22:14:17 PDT 2021


aqjune added a comment.

In D93990#2666922 <https://reviews.llvm.org/D93990#2666922>, @fhahn wrote:

> Hi! It looks like this may be causing https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29445 .

Hi, I suspect the error happens because InstSimplify couldn't fold e.g., `icmp <2 x i8> %x, <undef, poison>`, causing such form to survive until the assertion is checked.
I speculatively made a fix at https://reviews.llvm.org/D99853 , but I couldn't check whether this indeed fixes the failure however. :( I'll leave a comment at the oss-fuzz thread.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93990



More information about the llvm-commits mailing list