<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:vivekvpandya@gmail.com" title="Vivek Pandya <vivekvpandya@gmail.com>"> <span class="fn">Vivek Pandya</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [IPRA] Reg Usage Info Collector too aggressive."
href="https://llvm.org/bugs/show_bug.cgi?id=28567">bug 28567</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>vivekvpandya@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [IPRA] Reg Usage Info Collector too aggressive."
href="https://llvm.org/bugs/show_bug.cgi?id=28567#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [IPRA] Reg Usage Info Collector too aggressive."
href="https://llvm.org/bugs/show_bug.cgi?id=28567">bug 28567</a>
from <span class="vcard"><a class="email" href="mailto:vivekvpandya@gmail.com" title="Vivek Pandya <vivekvpandya@gmail.com>"> <span class="fn">Vivek Pandya</span></a>
</span></b>
<pre>I don't think current implement is correct because I have a very simple example
on X86 where only CL is clobbered than also CH is marked as clobbered :
target triple = "x86_64--"
define i8 @main(i8 %X) {
%inc = add i8 %X, 1
%inc2 = mul i8 %inc, 5
ret i8 %inc2
}
for above llvm IR generated X86 code is as follow:
main: # @main
.cfi_startproc
# BB#0:
movb $5, %cl
movl %edi, %eax
mulb %cl
addb $5, %al
retq
So here it is very clear that only CL, CX, RCX, ECX should be marked as
clobbered but current implementation marks CH too.
Here is review request <a href="https://reviews.llvm.org/D22400">https://reviews.llvm.org/D22400</a> that should fix this.</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>