[PATCH] D117184: Fix failing assertion in SimplifyCFG.cpp as icmp gep fold to constant expression [NFC]

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 13 05:57:05 PST 2022


nikic added a comment.

In D117184#3240406 <https://reviews.llvm.org/D117184#3240406>, @pvellien wrote:

> @nikic generating a small test-case is really hard, since it was triggering due to small peephole under very specific constraints. what would you advise here?

If you extract the bitcode or IR from clang (`-emit-llvm -Xclang -disable-llvm-optzns`) and then run it through either llvm-reduce or bugpoint, it should be possible to create a small reproducer.


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

https://reviews.llvm.org/D117184



More information about the llvm-commits mailing list