[cfe-commits] [PATCH][Review Please] Devirtualize record type member object

Yin Ma yinma at codeaurora.org
Mon Jul 30 10:54:03 PDT 2012


Hi,

Currently, the LLVM devirtualization forgets to handle a simple code pattern
where can be devirutalized. The code pattern is when a call is from the
record type member object. Currently, LLVM only supports devirtualizing a
call from the record type object defined in the same function. If object is
defined as member, it should be supported. The patch is to enable
devirtualization for this case.

In the attachment.
devir.diff is the code change
the rest of files are the results from validation tests

Please give a review. 

Thanks,

 

                           Yin 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/2d9f8678/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report.simple.new.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/2d9f8678/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report.simple.org.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/2d9f8678/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.new
Type: application/octet-stream
Size: 3081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/2d9f8678/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.org
Type: application/octet-stream
Size: 3049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/2d9f8678/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devir.diff
Type: application/octet-stream
Size: 712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/2d9f8678/attachment-0002.obj>


More information about the cfe-commits mailing list