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
{{ message }}
Repository navigation
f16 -> i128 cast has wrong behavior on aarch64-linux #164972
LLVM is doing something weird for saturating conversions on -O0 (which for aarch64 uses GISel, while higher levels, and most other backends, use SelectionDAG). Fun.
Activity
[-]f16 -> i128 has wrong behavior on aarch64-linux[/-][+]f16 -> i128 cast has wrong behavior on aarch64-linux[/+]folkertdev commentedon Oct 26, 2026
Looks to me like an incorrect copy of logic from the non-saturating to the saturating version, I've opened
f16to integer conversion llvm/llvm-project#235676Which should fix this and can hopefully be backported.