[PATCH] D86657: Add new hidden option -print-crash-IR that prints out IR that caused opt pipeline to crash
Daniil Suchkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 1 16:45:23 PDT 2021
DaniilSuchkov added a comment.
> D110752 <https://reviews.llvm.org/D110752> is not corrupting IR, it happened because we were looking at a constant's users, which is not a thing that makes sense to do (e.g. look at all users of the constant false).
Yep, what it did doesn't make any sense because it was a bug. Since here we're discussing a debugging option, in my opinion it makes sense to take such cases into account.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86657/new/
https://reviews.llvm.org/D86657
More information about the llvm-commits
mailing list