[PATCH] D134427: Fixed bug on token undef/poison in unreachable code
Dmitry Bakunevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 23 00:22:21 PDT 2022
dbakunevich added a comment.
As part of the optimization in the unreachable code, we remove tokens, thereby replacing them with undef/poison in intrinsics. But the verifier falls on the assertion, within of what it sees token poison in unreachable code, which in turn is incorrect.
The original code was in the form of a Java program that crashed on this assert. As part of the search for a bug, based on ir obtained from java, a mini test was written that reflects the problem. If you need, I can send Java code with this bug.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134427/new/
https://reviews.llvm.org/D134427
More information about the llvm-commits
mailing list