<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - [GlobalISel] [aarch64] i1 boolean is still signed extended to -1"
href="https://bugs.llvm.org/show_bug.cgi?id=41001">41001</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GlobalISel] [aarch64] i1 boolean is still signed extended to -1
</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>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: AArch64
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>efriedma@quicinc.com
</td>
</tr>
<tr>
<th>CC</th>
<td>aemerson@apple.com, arnaud.degrandmaison@arm.com, llvm-bugs@lists.llvm.org, mgrang@codeaurora.org, peter.smith@linaro.org, rtereshin@apple.com, Ties.Stuij@arm.com
</td>
</tr></table>
<p>
<div>
<pre>Testcase:
void a(void f(bool)) { f(true); }
Build with "clang --target=aarch64 -S".
This produces "mov w8, #-1" instead of "mov w8, #-1" at -O0 with GlobalISel.
(I won't bother turning this into a complete program, but it causes a
miscompile in practice.)
This is basically a continuation of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [GlobalISel] i1 boolean is signed extended to -1"
href="show_bug.cgi?id=36719">bug 36719</a>; here it's an argument instead of
a return value.</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>