Hi,

 

CodeGen passes added by 'addPassesToEmitFile' can no longer be
CallGraphSCC or Module passes.

I'm attaching a patch which fixes this issue (using a PassManager for
CodeGen passes instead of a FunctionPassManager, which is consistent
with llc's behaviour).

This appears to be a regression from 2.7 so I'd be grateful if this fix
was merged into the 2.8 branch as well.

 

Thanks,

 

Mike

 

Attachment: BackendUtil.patch
Description: BackendUtil.patch

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to