export fn entry() void {
var a: u15 = 42;
var b: f32 = @floatFromInt(a);
_ = b;
}
$ zig build-obj repro.zig -mcpu x86_64+avx512f
LLVM Emit Object... zig: llvm/include/llvm/CodeGen/ValueTypes.h:300: MVT llvm::EVT::getSimpleVT() const: Assertion `isSimple() && "Expected a SimpleValueType!"' failed.
Aborted (core dumped)
This bug is currently triggered by this code when compiling the compiler under the proper circumstances (don't look at the cast direction too closely 🙄).
upstream: llvm/llvm-project#68068
This bug is currently triggered by this code when compiling the compiler under the proper circumstances (don't look at the cast direction too closely 🙄).
upstream: llvm/llvm-project#68068