aboutsummaryrefslogtreecommitdiff
path: root/lib/std/packed_int_array.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-03 13:07:23 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-03 13:07:23 -0700
commit15f111a085dcd2da7b91da8e29b89def24cb3c6a (patch)
treeb06957a599f66d333a4b91e1e489bacaee5f3a15 /lib/std/packed_int_array.zig
parentb1873f20744dfa9b5402b936ccc0858d7ef01529 (diff)
downloadzig-15f111a085dcd2da7b91da8e29b89def24cb3c6a.tar.gz
zig-15f111a085dcd2da7b91da8e29b89def24cb3c6a.zip
LLVM: update lowering of saturating shift-left
LLVM 14 makes it so that a RHS of saturating shift left produces a poison value if the value is greater than the number of bits of the LHS. Zig now emits code that will check if this is the case and select a saturated LHS value in such case, matching Zig semantics.
Diffstat (limited to 'lib/std/packed_int_array.zig')
0 files changed, 0 insertions, 0 deletions