[PATCH] D138027: Clean up CFG on JumpThreading

Pedro Olsen Ferreira via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 06:16:02 PST 2022


arkangath added a comment.

> Is that an upstream pass, or a downstream one?

Ok took me a while to figure it out, but it appears to be a downstream pass which does something like
for (auto &BB : F)

  for (auto &I : BB)

and then infinite-recurses when trying to transform a BinaryOperator.

The .ll file I added on the patch is a bugpoint reduced case.
Incidentally, we have a different patch fixing D139783 <https://reviews.llvm.org/D139783> but that's not relevant for this case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138027



More information about the llvm-commits mailing list