<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Good Morning, all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I stumbled across a couple o’ three of curious things in the LLVM code.  I’m too new to this to know whether these are functioning correctly or not.  Guidance would be appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Perhaps it is something I have done wrong, but my executions of llc are creating two FPPassManager objects (that run different sets of passes).  FPPassManager contains a static char ID (as expected), so I expected only one FPPassManager object to be constructed during a single execution.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>LocalStackSlotAllocation::runOnMachineFunction returns true even when it has not changed the data (in any way that I can see).  <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The destructor of SelectionDAGISel deletes MF, a pointer to a member variable the class did not new.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Again, I’m too new to LLVM to know whether these things are as designed or unintentional.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Many Thanks,<o:p></o:p></p><p class=MsoNormal>JD Jones<o:p></o:p></p><p class=MsoNormal>Software Engineer<o:p></o:p></p><p class=MsoNormal>Paragon Research Corporation<o:p></o:p></p><p class=MsoNormal>www.prc-hsv.com<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Not a Contribution<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>
<br>
<font face="Arial, Helvetica, sans-serif"><span style="font-size:13px">This message is intended for the addressee only and may contain Paragon Research Corporation (PRC) confidential or privileged information.  Use or distribution of such confidential information is strictly prohibited without the prior written permission of PRC.  If you have received this message in error, please contact the sender immediately and delete the message and attachments from your computer.</span></font>