diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-05-30 00:22:45 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-05-31 18:54:28 -0400 |
| commit | b483defc5a5c2f93eb8a445974ab831ae4e4b321 (patch) | |
| tree | 0fa6fa6721e8731b294f8aafed6ca8f02a0242ae /src/codegen/llvm.zig | |
| parent | c1e9ef9eaabb2219a3762c5957b1c63ad20bf1ed (diff) | |
| download | zig-b483defc5a5c2f93eb8a445974ab831ae4e4b321.tar.gz zig-b483defc5a5c2f93eb8a445974ab831ae4e4b321.zip | |
Legalize: implement scalarization of binary operations
Diffstat (limited to 'src/codegen/llvm.zig')
| -rw-r--r-- | src/codegen/llvm.zig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index d2a72502ed..1820faf90c 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -3081,10 +3081,11 @@ pub const Object = struct { .undefined_type, .enum_literal_type, => unreachable, + .ptr_usize_type, + .ptr_const_comptime_int_type, .manyptr_u8_type, .manyptr_const_u8_type, .manyptr_const_u8_sentinel_0_type, - .single_const_pointer_to_comptime_int_type, => .ptr, .slice_const_u8_type, .slice_const_u8_sentinel_0_type, @@ -3098,11 +3099,16 @@ pub const Object = struct { => unreachable, // values, not types .undef, + .undef_bool, + .undef_usize, + .undef_u1, .zero, .zero_usize, + .zero_u1, .zero_u8, .one, .one_usize, + .one_u1, .one_u8, .four_u8, .negative_one, |
