<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 6/12/14, 11:03 AM, Chandler Carruth
wrote:<br>
</div>
<blockquote
cite="mid:CAGCO0KiWmN5bxm5vCM1z15CakYf1UetmL1tbOH4pWbqoRtrEkA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jun 12, 2014 at 4:45 PM,
Hanbing Li <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:hanbing.li@inria.fr" target="_blank">hanbing.li@inria.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi,</div>
<div><br>
</div>
<div>I know when a pass needs other passes, it will use
something like this:
"AU.addRequired<LoopInfo>();". But this is usually
used for the analysis passes.</div>
<div>When a pass needs another transform pass, can it call
it automatically?</div>
<div>For example:</div>
<div>Some loop optimizations may need loop-simplify, I
need add -loop-simplify before calling these passes
manually, or they can call the pass -loop-simplify
automatically?</div>
</blockquote>
</div>
<br>
Currently, the pass manager allows you (somewhat) to use the
addRequired mechanism even with analyses. However, I strongly
encourage you to not leverage it as it will eventually go
away.</div>
</div>
</blockquote>
<br>
Just out of curiosity, why is this feature going away?<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
</body>
</html>