diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-03 13:07:23 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-03 13:07:23 -0700 |
| commit | 15f111a085dcd2da7b91da8e29b89def24cb3c6a (patch) | |
| tree | b06957a599f66d333a4b91e1e489bacaee5f3a15 /lib/std/Thread.zig | |
| parent | b1873f20744dfa9b5402b936ccc0858d7ef01529 (diff) | |
| download | zig-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/Thread.zig')
0 files changed, 0 insertions, 0 deletions
