<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - SROA changes the value name when nothing else has changed"
href="https://llvm.org/bugs/show_bug.cgi?id=27462">27462</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SROA changes the value name when nothing else has changed
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nwilson20@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I run opt with the attached IR, bugpoint-reduced-simplified.ll, and the flags
-basicaa -sroa -S outputting the IR to a file, output1.ll.
I then use the output1.ll as input to opt again with the same flags (-basicaa
-sroa -S) and redirect the output to output2.ll.
The only difference is the value names:
$ diff output1.ll output2.ll
1c1
< ; ModuleID = 'bugpoint-reduced-simplified.ll'
---
<span class="quote">> ; ModuleID = 'output1.ll'</span >
369,370c369,370
< %.0..sroa_cast = bitcast %struct.Vdbe.70.195.1240* %1 to i8*
< call void @llvm.lifetime.end(i64 488, i8* %.0..sroa_cast)
---
<span class="quote">> %.0..0..sroa_cast = bitcast %struct.Vdbe.70.195.1240* %1 to i8*
> call void @llvm.lifetime.end(i64 488, i8* %.0..0..sroa_cast)</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>