<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 - LLVM assembly parser fails for inline asm uselistorder directive"
href="https://bugs.llvm.org/show_bug.cgi?id=36789">36789</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM assembly parser fails for inline asm uselistorder directive
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0
</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>LLVM assembly language parser
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dpfister@mail.de
</td>
</tr>
<tr>
<th>CC</th>
<td>dexonsmith@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=20088" name="attach_20088" title="test case">attachment 20088</a> <a href="attachment.cgi?id=20088&action=edit" title="test case">[details]</a></span>
test case
$ cat test.ll
define void @foo() {
%1 = call i32 asm "bswap $0", "=r,0"(i32 1)
%2 = call i32 asm "bswap $0", "=r,0"(i32 2)
ret void
; uselistorder directives
uselistorder i32 (i32)* asm "bswap $0", "=r,0", { 1, 0 }
}
$ llc test.ll
llc: test.ll:7:27: error: invalid type for inline asm constraint string
uselistorder i32 (i32)* asm "bswap $0", "=r,0", { 1, 0 }
^</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>