<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Yep. Makes sense to me. There's nothing to simplify or
constant-fold about an alloca.<br>
</p>
<p> -Hal<br>
</p>
<div class="moz-cite-prefix">On 04/12/2017 04:23 PM, Craig Topper
wrote:<br>
</div>
<blockquote
cite="mid:CAF7ks-OX5TOtE_D_ymU=bjK-qREivh=7659XrAwbt_98m+cR+Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Ping</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">~Craig</div>
</div>
<br>
<div class="gmail_quote">On Fri, Apr 7, 2017 at 1:25 PM, Craig
Topper <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:craig.topper@gmail.com" target="_blank">craig.topper@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>I notice that GetUnderlyingObject has a few checks,
but alloca isn't one of them. Then it fall backs to
SimplifyInstruction which doesn't know about alloca so
falls back to just trying to constant fold it. This
seems a little silly since I assume alloca can't be
constant folded. Should we just detect this early in
GetUnderlyingObject and stop?</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>
<div class="m_6179612886951310766gmail_signature"
data-smartmail="gmail_signature">~Craig</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</body>
</html>