<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 - regression with aarch64-linux: UNREACHABLE executed at ../include/llvm/Support/MachineValueType.h:756"
href="https://bugs.llvm.org/show_bug.cgi?id=47619">47619</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>regression with aarch64-linux: UNREACHABLE executed at ../include/llvm/Support/MachineValueType.h:756
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andrew@ziglang.org
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Debug build of llvm 10 (assertions enabled) no problem, all std lib tests
passed:
/home/andy/Downloads/zig/build-llvm10-debug/zig test
/home/andy/Downloads/zig/lib/std/std.zig --test-name-prefix
std-aarch64-linux-none-Debug-bare-multi --cache-dir
/home/andy/Downloads/zig/zig-cache --name test -target aarch64-linux-none
--test-cmd qemu-aarch64 --test-cmd-bin -I /home/andy/Downloads/zig/test
--override-lib-dir /home/andy/Downloads/zig/lib
Debug build of llvm 11 (assertions enabled) UNREACHABLE executed:
/home/andy/tmp/zig/build-llvm11-debug/zig test
/home/andy/tmp/zig/lib/std/std.zig --test-name-prefix
std-aarch64-linux-none-Debug-bare-multi --cache-dir
/home/andy/tmp/zig/zig-cache --name test -target aarch64-linux-none --test-cmd
qemu-aarch64 --test-cmd-bin -I /home/andy/tmp/zig/test --override-lib-dir
/home/andy/tmp/zig/lib
LLVM Emit Output... getSizeInBits called on extended MVT.
UNREACHABLE executed at ../include/llvm/Support/MachineValueType.h:756!
Program received signal SIGABRT, Aborted.
0x00007ffff7abe15a in raise ()
from /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7abe15a in raise ()
from /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libc.so.6
#1 0x00007ffff7aa8548 in abort ()
from /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libc.so.6
#2 0x0000000007ef5d52 in llvm::llvm_unreachable_internal (
msg=0x8876528 "getSizeInBits called on extended MVT.",
file=0x88764e8 "../include/llvm/Support/MachineValueType.h", line=756)
at ../lib/Support/ErrorHandling.cpp:210
#3 0x00000000049e9e53 in llvm::MVT::getSizeInBits (this=0x7fffffff75af)
at ../include/llvm/Support/MachineValueType.h:756
#4 0x000000000641b76b in llvm::CallLowering::handleAssignments
(this=0x148396df0, CCInfo=...,
ArgLocs=..., MIRBuilder=..., Args=..., Handler=...)
at ../lib/CodeGen/GlobalISel/CallLowering.cpp:380
#5 0x000000000641a355 in llvm::CallLowering::handleAssignments
(this=0x148396df0, MIRBuilder=...,
Args=..., Handler=...) at ../lib/CodeGen/GlobalISel/CallLowering.cpp:183
#6 0x0000000006376526 in llvm::AArch64CallLowering::lowerFormalArguments
(this=0x148396df0,
MIRBuilder=..., F=..., VRegs=...) at
../lib/Target/AArch64/GISel/AArch64CallLowering.cpp:467
#7 0x000000000643977c in llvm::IRTranslator::runOnMachineFunction
(this=0x13a5f5ac0, CurMF=...)
at ../lib/CodeGen/GlobalISel/IRTranslator.cpp:2410
#8 0x0000000006b0aa3a in llvm::MachineFunctionPass::runOnFunction
(this=0x13a5f5ac0, F=...)
at ../lib/CodeGen/MachineFunctionPass.cpp:73
#9 0x0000000007b6f707 in llvm::FPPassManager::runOnFunction (this=0x13a5f5880,
F=...)
at ../lib/IR/LegacyPassManager.cpp:1516
#10 0x0000000007b6f96c in llvm::FPPassManager::runOnModule (this=0x13a5f5880,
M=...)
at ../lib/IR/LegacyPassManager.cpp:1552
#11 0x0000000007b6fd96 in (anonymous namespace)::MPPassManager::runOnModule
(this=0x1091f220, M=...)
at ../lib/IR/LegacyPassManager.cpp:1617
#12 0x0000000007b6b38c in llvm::legacy::PassManagerImpl::run (this=0x13ccfb620,
M=...)
at ../lib/IR/LegacyPassManager.cpp:614
#13 0x0000000007b7057b in llvm::legacy::PassManager::run (this=0x7fffffff8db0,
M=...)
at ../lib/IR/LegacyPassManager.cpp:1737
#14 0x0000000001feb270 in ZigLLVMTargetMachineEmitToFile
(targ_machine_ref=0xd9c2320,
module_ref=0xd9c0410, error_message=0x7fffffff90a0, is_debug=true,
is_small=false,
time_report=false, asm_filename=0x0,
bin_filename=0x12e6cd6a0
"/home/andy/tmp/zig/zig-cache/o/ZUiidwQbVyT8rMSpSZDScVXIa8n94V_QJlegaZfbRTNbzYdbb6IS-rmibHUBOf6L/test.o",
llvm_ir_filename=0x0) at ../src/zig_llvm.cpp:284
#15 0x0000000001bbeb3f in zig_llvm_emit_output (g=0xd9ac850) at
../src/codegen.cpp:8347
#16 0x0000000001bc96de in codegen_build_and_link (g=0xd9ac850) at
../src/codegen.cpp:11076
#17 0x0000000001b99ac7 in main0 (argc=18, argv=0x7fffffff9d38) at
../src/main.cpp:1792
#18 0x0000000001b99f28 in main (argc=18, argv=0x7fffffff9d38) at
../src/main.cpp:1870
(gdb)
I will work on a reduction tomorrow morning at the latest; hopefully will have
time later this evening. I just wanted to get this bug filed on rc3 so that
people know there are still regressions to solve from LLVM 10.</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>