[cfe-dev] CodeGen passes (with patch)

Mike Gist Mike.Gist at imgtec.com
Wed Sep 8 04:02:45 PDT 2010


Hi,

 

I'm attaching a patch which fixes this issue (using a PassManager for
CodeGen passes instead of a FunctionPassManager).

Assuming that this is a regression, I'd be grateful if this fix was
merged into the 2.8 branch as well.

 

Thanks,

 

Mike

 

________________________________

From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu]
On Behalf Of Mike Gist
Sent: 07 September 2010 17:38
To: cfe-dev at cs.uiuc.edu
Subject: [cfe-dev] CodeGen passes

 

Hi,

 

I'm testing clang 2.8 and I notice that the codegen passes added by
'addPassesToEmitFile' can no longer be CallGraphSCC passes.

For example, I add the 'AlwaysInliner' pass in my target machine's
'addPassesToEmitFile'. This worked fine in 2.7 but asserts in 2.8.

Is this a regression? Or is there a technical reason behind this change?

 

Cheers,

 

Mike

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100908/9ff618af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BackendUtil.patch
Type: application/octet-stream
Size: 1436 bytes
Desc: BackendUtil.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100908/9ff618af/attachment.obj>


More information about the cfe-dev mailing list