[LLVMdev] PassManager Woes
Hal Finkel
hfinkel at anl.gov
Mon Apr 21 10:16:40 PDT 2014
----- Original Message -----
> From: dag at cray.com
> To: llvmdev at cs.uiuc.edu
> Sent: Monday, April 21, 2014 12:08:22 PM
> Subject: Re: [LLVMdev] PassManager Woes
>
> <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!).
If you need, backporting the barrier pass should be trivial. It does not really do anything special, just its existence forces later passes to "break out" from any preceding CGSCC pass manager.
-Hal
>
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev
mailing list