[PATCH] D86657: Add new hidden option -print-crash-IR that prints out IR that caused opt pipeline to crash

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 12:32:57 PDT 2021


jamieschmeiser added a comment.

I think I am getting confused with llvm-extract --func=<function> which will extract what is needed for a function from a module IR.  However, one could likely use that to get an IR with the necessary addition declarations and then substitute in the IR for the function using this option.  I wonder if it might be possible to use the code in llvm-extract to do that automatically?  Something to think about...


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

https://reviews.llvm.org/D86657



More information about the llvm-commits mailing list