[LLVMdev] Code generators (both llvmc and Jit) get stuck when dealing circular CFG

Eli Friedman eli.friedman at gmail.com
Sun Apr 4 16:08:39 PDT 2010

On Sun, Apr 4, 2010 at 3:55 PM, Gabi <bugspynet at gmail.com> wrote:
> Hi,
> The following arbitrary example makes the code generators to get stuck
> (llvmc won't return from command line, Jit won't return from function
> call)
> Basically it is a CFG with circles, (the function will return by
> comparing a branch counter to a threshold on runtime - see the
> "Brancher" blocks below)
> Any idea what goes wrong? Is it a bug in llvm ?

LLVM should never hang; please file a bug


More information about the llvm-dev mailing list