<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 - Wrong data layout for M68k"
href="https://bugs.llvm.org/show_bug.cgi?id=51626">51626</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Wrong data layout for M68k
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: M68k
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>glaubitz@physik.fu-berlin.de
</td>
</tr>
<tr>
<th>CC</th>
<td>glaubitz@physik.fu-berlin.de, jrtc27@jrtc27.com, llvm-bugs@lists.llvm.org, minyihh@uci.edu, rickytaylor26@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>According to the comment by Jessica Clarke in [1], the data layout for M68k is
wrong.
Quote:
<span class="quote">> glaubitz@node54:/data/home/glaubitz/llvm-project/build> clang -S -x c /dev/null -o - -emit-llvm --target=m68k-linux-gnu | grep datalayout
> target datalayout = "E-m:e-p:32:32-i8:8:8-i16:16:16-i32:16:32-n8:16:32-a:0:16-S16"
> glaubitz@node54:/data/home/glaubitz/llvm-project/build></span >
"p:32:32 still looks wrong, _Alignof(void *) is 2 not 4 so it should be
p:32:16:32 just like i32, so that needs fixing in LLVM"
<span class="quote">> [1] <a href="https://github.com/rust-lang/rust/pull/88321#discussion_r696022822">https://github.com/rust-lang/rust/pull/88321#discussion_r696022822</a></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>