<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/19/2017 12:50 PM, Matthew O'Connor
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+XmMRXJYSsMskOzG-wUP0kpyYrX0p0UWO7NqpVV_2dBsiJZhA@mail.gmail.com">
<div dir="ltr">
<div>Huh, that appears to do it - preventing `noinline` from
showing up on defined functions. Thanks.<br>
<br>
</div>
Out of curiosity, what does that do? And what changed to require
this?<br>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote>
<br>
-O2 has multiple effects. The obvious effect is the set of
optimization passes which run, but it also changes the behavior of
the frontend. It affects the preprocessor (we set a define with the
optimization level), and we change how IR is generated in a few
cases.<br>
<br>
-disable-llvm-passes disables the optimization passes, but doesn't
affect the other behavior of -O2.<br>
<p>For the change in 4.0 specifically, see
<a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D28053">https://reviews.llvm.org/D28053</a> .</p>
<p>-Eli<br>
</p>
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
</body>
</html>