<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">I see that in clang/include/Driver/Options.td,
both -finline_functions_called_once and -finline-limit have been
defined as "clang_ignored_gcc_optimization_f_Group".</font></p>
<p><font size="+1">You can use -mllvm -inline-threshold=<value>
as a replacement for -finline-limit=<value>. I am not sure
if there is a replacement for </font><br>
<font size="+1">-finline_functions_called_once.</font></p>
<p><font size="+1">--Mandeep</font><br>
</p>
<br>
<div class="moz-cite-prefix">On 7/30/2017 1:41 AM, ROHIT KUMAR via
cfe-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMbO2ZhrB39F6FmOonvqjRVyZtsYi8ut-C=vYrQ3YuHjKzkYCA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">
<div>Hey Devs, </div>
<div><br>
</div>
<div>Can someone suggest alternative flags for clang for the
below-mentioned flags which work with GCC but get ignored
in clang?</div>
<div><br>
</div>
-fno-inline-functions-called-<wbr>once<br>
<div>-finline-limit=200<br>
</div>
<div><br>
</div>
<div>Thanks, </div>
<span class="HOEnZb"><font color="#888888">
<div>Rohit</div>
</font></span></div>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>