You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing #15938@N00byEdge and I noticed some weirdness in the code. I don't have enough experience in the compiler to dare to touch these non-trivial bits, but I think someone should. This has been somewhat problematic for the last years of Zig development, virtually stopping some non-FPU targets to compile because of LLVM crashes.
Zig Version
0.11.0-dev.3322+82632aff2
Steps to Reproduce and Observed Behavior
Related: #12227
When implementing #15938 @N00byEdge and I noticed some weirdness in the code. I don't have enough experience in the compiler to dare to touch these non-trivial bits, but I think someone should. This has been somewhat problematic for the last years of Zig development, virtually stopping some non-FPU targets to compile because of LLVM crashes.
Some of it here:
zig/src/codegen/llvm.zig
Lines 2820 to 2826 in 9461ed5
zig/src/codegen/llvm.zig
Lines 11145 to 11150 in 9461ed5
zig/src/codegen/llvm.zig
Lines 11155 to 11170 in 9461ed5
zig/src/codegen/llvm.zig
Lines 11175 to 11180 in 9461ed5
Expected Behavior
Some unification should happen in my opinion for this aspect of the code generation to avoid bugs and crashes.
The text was updated successfully, but these errors were encountered: