<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=windows-1255"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.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=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Thank you very much for the test. I guess you didn’t see any obvious change both in performance and size right?  Can you please share about your config?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Jun<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Das, Dibyendu [mailto:Dibyendu.Das@amd.com] <br><b>Sent:</b> Tuesday, May 16, 2017 12:14 PM<br><b>To:</b> junbuml@codeaurora.org; llvm-dev@lists.llvm.org<br><b>Subject:</b> RE: [llvm-dev] Enable new inline cost heuristic for switch<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>We ran cpu2006 INT rate for x86. We didnt see any perecptible positive or negative swing in any of the bms. <br><br>Thx<br>Dibyendu<br><br>Sent from my Windows Phone<o:p></o:p></span></p></div></div><div><div class=MsoNormal align=center style='text-align:center'><hr size=3 width="100%" align=center></div><p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From: </span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><a href="mailto:llvm-dev@lists.llvm.org">via llvm-dev</a></span><br><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Sent: </span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>ý5/ý10/ý2017 3:19 AM</span><br><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>To: </span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a></span><br><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Subject: </span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Re: [llvm-dev] Enable new inline cost heuristic for switch</span><o:p></o:p></p></div></div><div><p class=MsoNormal><span style='font-size:10.0pt'><br>Kindly ping.<br><br>Can anyone please take a chance to test the new switch inline cost <br>heuristic (r301649). In my experiment for spec2000/spec2006/llvm-ts in <br>AArch64, significant performance (+17.8%) and size (-8%) benefit was <br>observed in spec2000/vertex with LTO while no significant code size / <br>performance regression was found in O3/O2/Os. I posted D32653 to enable <br>the flag (-inline-generic-switch-cost) for your test. It will be really <br>great if this heuristic is tested in different targets and for other <br>applications.<br><br>Thanks,<br>Jun<br><br>On 2017-04-28 15:35, <a href="mailto:junbuml@codeaurora.org">junbuml@codeaurora.org</a> wrote:<br>> Hi,<br>> <br>> I'm trying to turn on a flag (-inline-generic-switch-cost) introduced<br>> in r301649 which improved the inline cost heuristic for switch. In my<br>> experiment for LLVM test suite and spec2000/2006 in AArch64, +17.82%<br>> performance  and -8% code size reduce was observed in spec2000/vertex<br>> with O3 LTO. No significant code size / performance regression was<br>> found in O3/O2/Os.<br>> <br>> Before we turn this flag on by default, I want this change to be<br>> tested on other targets as well as for other applications. Can anyone<br>> please take a change to test this and share the result in D32653.<br>> <br>> Thanks,<br>> Jun<br><br>-- <br>Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm <br>Technologies, Inc.<br>Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a <br>Linux Foundation Collaborative Project.<br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><o:p></o:p></span></p></div></div></body></html>