<div dir="ltr"><div dir="ltr">Hi Tim,</div><div dir="ltr"><br></div><div dir="ltr">Are you suggesting solution 3? i.e,. <font face="arial, sans-serif">To add 'metadata', to SI so that </font>the AddressSanitizer ignores SI.</div><div dir="ltr"><br></div><div>Regards,</div><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>------------------------------</div><div>Raghesh Aloor</div><div>AMD India Pvt. Ltd.</div><div>Bengaluru.</div><div>------------------------------</div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 24, 2019 at 2:27 PM Tim Northover <<a href="mailto:t.p.northover@gmail.com">t.p.northover@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Raghesh,<br>
<br>
On Tue, 24 Sep 2019 at 09:26, raghesh via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> In order to confine the scope of a local variable allocated using "alloca", we had written a pass named 'undeflocal'. This helps avoid pseudo phi nodes inserted because of the path (carrying an undefined value) starting from the "entry" block. This unwanted phi instruction was preventing some of the optimizations from getting triggered later on.<br>
<br>
It sounds like this is the real problem. Whatever's seeing that store<br>
you're inserting and using it to improve the phi should also be taught<br>
about @llvm.lifetime.start.<br>
<br>
Cheers.<br>
<br>
Tim.<br>
</blockquote></div></div>