-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLVM 14 regression: std.fmt.parseFloat gives wrong bit pattern for NaN on aarch64 #12027
Labels
arch-aarch64
64-bit ARM
backend-llvm
The LLVM backend outputs an LLVM IR Module.
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
miscompilation
The compiler reports success but produces semantically incorrect code.
regression
It worked in a previous version of Zig, but stopped working.
upstream
An issue with a third party project that Zig uses.
Milestone
Comments
andrewrk
added
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
upstream
An issue with a third party project that Zig uses.
arch-aarch64
64-bit ARM
backend-llvm
The LLVM backend outputs an LLVM IR Module.
regression
It worked in a previous version of Zig, but stopped working.
labels
Jul 6, 2022
andrewrk
added a commit
that referenced
this issue
Jul 7, 2022
andrewrk
added
the
miscompilation
The compiler reports success but produces semantically incorrect code.
label
Jul 7, 2022
Merged
Not a direct reduction, but I found what appears to be a closely related failure: noinline fn nan(comptime T: type) T {
return comptime std.math.nan(T);
}
test {
const nan_const = comptime @bitCast(u16, std.math.nan(f16));
if (nan_const != @bitCast(u16, nan(f16))) unreachable;
} This reproduces on LLVM 13 (including Zig 0.9.1 and latest master). Bug filed here: llvm/llvm-project#56454 |
andrewrk
added a commit
that referenced
this issue
Jul 19, 2022
wooster0
pushed a commit
to wooster0/zig
that referenced
this issue
Jul 24, 2022
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 7, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 7, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 7, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 7, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 8, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 8, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
wooster0
added a commit
to wooster0/zig
that referenced
this issue
Dec 9, 2022
Closes ziglang#12012 Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
kcbanner
pushed a commit
to kcbanner/zig
that referenced
this issue
Dec 10, 2022
Closes ziglang#12013 Closes ziglang#10627 Closes ziglang#12027
andrewrk
added a commit
that referenced
this issue
Dec 28, 2022
Reopened by 5ca1753 |
matu3ba
added a commit
to matu3ba/zig
that referenced
this issue
Jul 24, 2023
andrewrk
pushed a commit
that referenced
this issue
Jul 25, 2023
cactusbento
pushed a commit
to cactusbento/zig
that referenced
this issue
Jul 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
arch-aarch64
64-bit ARM
backend-llvm
The LLVM backend outputs an LLVM IR Module.
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
miscompilation
The compiler reports success but produces semantically incorrect code.
regression
It worked in a previous version of Zig, but stopped working.
upstream
An issue with a third party project that Zig uses.
Zig Version:
0.10.0-dev.2896+fa40bddf2
Reproduce:
Failing test case is:
zig/lib/std/fmt/parse_float.zig
Line 43 in aab1284
Next steps:
llvm-reduce
to create reductionThe text was updated successfully, but these errors were encountered: