[LLVMdev] PassManager Woes

dag at cray.com dag at cray.com
Mon Apr 21 10:08:22 PDT 2014


<dag at cray.com> writes:

>> To solve your issue, can you use a barrier pass? This might force the
>> passes to re-run when you need them.
>
> What's a barrier pass?

Ah.  We haven't upgraded to that version of LLVM yet (but it's in the
works!).

For the record and mailing-list posterity, I was able to fix the problem
by removing setPreservesCFG from pass E.  That's just a huge ugly kludge
but it's good enough for this case.

                              -David



More information about the llvm-dev mailing list