<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 - AArch64 assembly gives error in one case but not in other equivalent case."
href="https://bugs.llvm.org/show_bug.cgi?id=38831">38831</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>AArch64 assembly gives error in one case but not in other equivalent case.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jakehehrlich@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The following instruction assembles successfully
```
adr x9, IMAGE_LOAD_START + 987136
```
but somehow the following does not
```
adr x9, (0xffffffff000f1000 - 0xffffffff00000000 + IMAGE_LOAD_START)
```
Regardless of how IMAGE_LOAD_START is defined these should resolved to the same
value.
I'll try and post a more complete and simpler reproducer later rather than one
pulled almost directly from real code however simple it may be.</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>