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
Bitcast code needs a re-write. Perhaps casting can be unified in the LLVM backend.
The only difference between cast and bitcast is that bitcast requires equally sized types & Floating Pointer <-> Integer conversions are handled differently.
Note bad IR gen in the following case also:
A :: struct {
a: rawptr
}
main :: fn() -> void {
x : rawptr = nil
a := bitcast(A) x
}
The text was updated successfully, but these errors were encountered:
Bitcast code needs a re-write. Perhaps casting can be unified in the LLVM backend.
The only difference between
cast
andbitcast
is thatbitcast
requires equally sized types & Floating Pointer <-> Integer conversions are handled differently.Note bad IR gen in the following case also:
The text was updated successfully, but these errors were encountered: