diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-01-25 07:30:45 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-25 07:30:45 -0800 |
| commit | d0d5ca2b6c8253c27e945ed8d973a90c28a3cbf5 (patch) | |
| tree | d89ef781d3e729f684fa4baf20452f037f66b772 /src/Sema.zig | |
| parent | 8ba3812eeedec643dd045e0fecb8a6697f6253db (diff) | |
| parent | c7433212d1bf96adbfc6f3d706404436c0c98c20 (diff) | |
| download | zig-d0d5ca2b6c8253c27e945ed8d973a90c28a3cbf5.tar.gz zig-d0d5ca2b6c8253c27e945ed8d973a90c28a3cbf5.zip | |
Merge pull request #22581 from jacobly0/x86_64-rewrite
x86_64: rewrite `@abs` on floats
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index e4a2ab05b2..52f3ae2101 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -36606,6 +36606,28 @@ pub fn typeHasOnePossibleValue(sema: *Sema, ty: Type) CompileError!?Value { .single_const_pointer_to_comptime_int_type, .slice_const_u8_type, .slice_const_u8_sentinel_0_type, + .vector_16_i8_type, + .vector_32_i8_type, + .vector_16_u8_type, + .vector_32_u8_type, + .vector_8_i16_type, + .vector_16_i16_type, + .vector_8_u16_type, + .vector_16_u16_type, + .vector_4_i32_type, + .vector_8_i32_type, + .vector_4_u32_type, + .vector_8_u32_type, + .vector_2_i64_type, + .vector_4_i64_type, + .vector_2_u64_type, + .vector_4_u64_type, + .vector_4_f16_type, + .vector_8_f16_type, + .vector_4_f32_type, + .vector_8_f32_type, + .vector_2_f64_type, + .vector_4_f64_type, .anyerror_void_error_union_type, => null, .void_type => Value.void, |
