<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6002.18591" name=GENERATOR></HEAD>
<BODY><SPAN class=658405106-16052012>
<DIV dir=ltr align=left><SPAN class=658405106-16052012>> (Any chance you're 
still interested in it Patrik?)</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=658405106-16052012><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=658405106-16052012><FONT face=Arial 
color=#0000ff size=2>No. Our llvm target is still in its 
infancy, and optimization pragmas for specific functions or blocks of code 
in the fronted, is not on the agenda yet.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=658405106-16052012>Therefore</SPAN>, I don't see the point of the optsize 
attribute. The only reason we use it in our frontend is that -Oz + optsize 
- for some strange reason I havn't investigated yet, but I 
should - gives smaller code than -Oz alone. When that issue is solved, 
we will not <SPAN class=658405106-16052012>use</SPAN> optsize 
anymore.</FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=658405106-16052012><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=658405106-16052012><FONT face=Arial 
color=#0000ff size=2>/Patrik Hägglund</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=658405106-16052012><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B> Chandler Carruth 
[mailto:chandlerc@google.com] <BR><B>Sent:</B> den 15 maj 2012 
23:44<BR><B>To:</B> Evan Cheng<BR><B>Cc:</B> Patrik Hägglund H; 
<llvm-commits@cs.uiuc.edu><BR><B>Subject:</B> Re: [llvm-commits] [PATCH] 
opt -Os/-Oz<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=gmail_quote>On Tue, May 15, 2012 at 12:42 PM, Evan Cheng <SPAN 
dir=ltr><<A href="mailto:evan.cheng@apple.com" 
target=_blank>evan.cheng@apple.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <DIV style="WORD-WRAP: break-word">While adding opt options is useful, the 
  thing we really need is to model -Oz as a new attribute. Right now we 
  have OptimizeForSize, it really should be split into two: 
  OptimizeForSizeAndSpeed and OptimizeForSize. The former is 
  what OptimizeForSize currently is (for -Os), the later should be for 
  -Oz.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Completely agree. The only reason for adding this is to enable testing of 
-Oz-behavior at all; I think fixing the attributes relating to this should be an 
orthogonal fix? (Any chance you're still interested in it 
Patrik?)</DIV></DIV></BODY></HTML>