Is this a bug?

Ye, Mei Mei.Ye at amd.com
Tue Jun 25 14:22:06 PDT 2013


In opt.cpp,  target specific analysis is added to module passes but NOT to function passes.
As a result,  optimizations called from function pass managers do not get the correct TargetTransformInfo.

Is this a bug or by design?  Attached is a patch that will fix this problem.

-Mei



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130625/d712fc94/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: odc_opt
Type: application/octet-stream
Size: 364 bytes
Desc: odc_opt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130625/d712fc94/attachment.obj>


More information about the llvm-commits mailing list