<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylU9uK3DAM_ZrkRTTMOMnu5iEPuy0LpYVC6Q84sRx7cexgyxPm7ytnth22rwXhiy5HR5I9BXUdf6JUwbsr6OxnssHDLJ1LICOCTCmvqECxD1gNZBAiUo4eLtJlBJs--DTwy7CK5cc3mDLBjozmfSCwiw-MyAgr7AZ9MSkkjKv1BVTORk7WWboyImwyEoRbQqvQk9V2lgc71q64hniFOXhiUyU-AzZLU_bdSLpTc0EqZqZjWCGFFWGj2MBXXXLf-Rz1luByLiEltFB-J-XwhiAhUQnZog0RKHyI3Y2dTdF4cNyIBDkVlwmdxQveoXfrHAOn7LglnjGV1Rojl3GjXbCC5rIge4W6qdXYqqEdZC0zmRDHNxUwcgTVObrREG2pap8r8cqyWDJ5auaw8sW5y5_t0xbDG87cqVfL08LEh759FA-1GYXsJzENWg09PvRCqv789NS2OPTnTj9259pJLiKNVf9SCWG3wGvVf6n_P7cdxUmwnE_noRenrkHRD90JEWXXiW7QFV9WaV1TcJoQlzqOB-SUl8RGZxOlu5EfIg8V8Z3q30a9EyZL7rA9E0XLjzNEVsP3UKbFo4j__oPbF4i4OTljmRwZ2GPwy21S9VHOeNTyG1QwIGQ>53726</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Attributor] Loads in readonly functions are replaced with wrong value
</td>
</tr>
<tr>
<th>Labels</th>
<td>
ipo
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
jdoerfert
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jdoerfert
</td>
</tr>
</table>
<pre>
Readonly function calls are assumed dead if the return value is assumed dead. This is OK but we cannot ignore them when we determine reachability as part of the identification of memory content, e.g., what value is loaded from some ptr. If we ignore the call, the load is not reachable from a store prior to the call, which then leads us to believe the load will result in a different value, often undef.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUtuK3DAM_ZrkRTTMOJchD3nYtiyUFgqlP-DEcuzFsYMtT5i_rzyz7bAFEdu6nHMkZQ7qNv1CqYJ3N9DZL2SDh0U6l0BGBJlS3lCB4hywGsggRKQcPVylywg2fchp4LdhF9vP7zBnggMZzftAYFcfGJERNjgM-hJSSBg36wuoXIycrbN0Y0TYZSQID0Kr0JPVdpF3dezdcAvxBkvwxKFKfAFs1qach5H0lOaCVKxMx7BBChvCTrGBb7pwP_Xc-y3F5V5KSmmR_C7K4QNBQqJSskcbIlD4UHsYu5ji8eB4EAlyKikzOotXfEIf1jkGTtnxSDxjKqs1Rm7jIbtgBc1tQfYKdVOrqVVjO8qaLDmcqv7zC1G0PNwQq_4r_AiFjaHi_3t8rDDi7uSChZkMHDH49cFU5-gmQ7Snqn2pxCvbyil5bpaw8cO569_j0x7DGy486VfL28bEl769iKE2UzcOl3OvezWcl_Y0CNHO5-EidYdqHsb-UjvJQ0hFeCWE3QN_WXdtJ3ESbOfTeezFqWtQ9GN3QkTZdaIbdcWPTVrXFAVNiGsdp7uYOa-Jg84mSs8g_4a8UsR3ojcVMPJg6Z1OZjIhTv_c9b2R6d7FHyiWCrw">