Commit Graph

6261 Commits

Author SHA1 Message Date
gingerBill
8ea1cbc230 Mock out vectorization of array binary arithmetic (probably not better in practice some of the time) 2026-04-24 18:19:41 +01:00
gingerBill
5c2efb78ac SIMD-ify [N]float -> [N]complex 2026-04-23 18:35:00 +01:00
gingerBill
a44b8b0af0 Support ([N]T)([N]U{...}) 2026-04-23 10:42:53 +01:00
gingerBill
01734dfa9b Merge pull request #6599 from 3rd-Party-Guy/issue/6594-self-ref-global-init
Fixes #6594
2026-04-22 13:44:08 +01:00
gingerBill
021c224f5c Fix alignment 2026-04-22 13:38:47 +01:00
FourteenBrush
44938b6b64 Make @(rodata) on constants yield 'not supported' message 2026-04-22 14:33:21 +02:00
gingerBill
46ed5500b1 Fix lb_convert_struct_index for struct #raw_union 2026-04-22 13:18:26 +01:00
Nikolay Hadzhiev
48e83ad003 gh 6594
prevent compiler crash from self-referential global initialisation
2026-04-22 13:14:08 +02:00
gingerBill
608709693b Fix #6590 2026-04-22 11:32:58 +01:00
gingerBill
ef275c5c0e Support []int{multiple_returns(), 123} 2026-04-21 17:45:36 +01:00
gingerBill
b1e8ec5e64 Allow for Some_Struct{multiple_return_value(), 123} 2026-04-21 17:17:59 +01:00
gingerBill
0a080751e0 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-04-21 16:36:09 +01:00
gingerBill
92c17b85e1 Allow assigning subtypes to unions 2026-04-21 16:35:57 +01:00
Franz
fa3a9b6f04 Prevent coredump when child process gets killed by signal.
Generating a coredump here is not useful, but is relatively
slow and generates a useless ~20M file every time.
The child process still creates a coredump.
2026-04-17 12:49:29 +02:00
Franz
87c40b6465 Fix array counts for floats that are exactly representable as ints eg. [1.1e4]int 2026-04-16 22:57:20 +02:00
gingerBill
32d45bbd27 Merge pull request #6553 from jakubtomsu/minimal-sroa
`-o:minimal` SROA and simplification passes
2026-04-15 10:25:21 +01:00
gingerBill
07cd20dd33 Merge pull request #6521 from A1029384756/master
[checker] fix break/continue being allowed in a nested unrolled range loop
2026-04-11 21:35:12 +01:00
jakubtomsu
d5baafb16c bring back simplifycfg 2026-04-11 12:51:22 +02:00
gingerBill
1d65bd48f6 Merge pull request #6519 from lualvsil/android-aligned-alloc
Android: fix aligned_alloc not defined
2026-04-11 11:47:04 +01:00
gingerBill
736184b39e Merge pull request #6539 from k-nrd/fix/field-first-writes-into-dynamic-soa
fix #6344: field-first index writes on #soa[dynamic]T and #soa[]T
2026-04-11 11:45:19 +01:00
jakubtomsu
eb01ff554b attributes, use instsimplify instead of instcombine 2026-04-11 12:42:34 +02:00
jakubtomsu
65ca5f02cd fix typo 2026-04-11 11:49:48 +02:00
jakubtomsu
fd34e4b2ed Use sroa<modify-cfg> explicitly 2026-04-11 11:48:09 +02:00
jakubtomsu
7882123158 WINDOWS_LEAN_AND_MEAN 2026-04-11 11:14:41 +02:00
jakubtomsu
e97f73e4aa lightweight simplification and optimization passes in -o:minimal 2026-04-11 11:14:28 +02:00
jakubtomsu
15f4301afb Merge branch 'odin-lang:master' into target-feature-fix 2026-04-10 13:28:46 +02:00
jakubtomsu
10c7b134e1 de-duplicate and canonicalize target_features_set entries 2026-04-10 13:27:42 +02:00
jakubtomsu
00874e39ad fix 2026-04-10 12:53:28 +02:00
jakubtomsu
bf4aa9b556 stronger +/- checks in check_target_feature_is_enabled 2026-04-10 12:47:12 +02:00
Franz Hoeltermann
f43b604eb3 Fix #no_bounds_check (previously broken by fc41e4414)
arr[:end] expressions would previously emit bounds checks even
with #no_bounds_check, breaking spall
2026-04-10 02:21:36 +02:00
k-nrd
2c6c646342 Merge branch 'master' into fix/field-first-writes-into-dynamic-soa 2026-04-09 15:19:11 -03:00
Montgomery
56a1a81a38 Fix output of filename when outputting docs with the -in-source-order option. 2026-04-08 12:49:51 +01:00
gingerBill
68942ce53d Genericize simd_approx_recip_(sqrt) to allow for AVX and AVX512 intrinsics if enabled 2026-04-08 10:56:52 +01:00
gingerBill
6f7226e692 Add intrinsics.simd_pairwise_(add|sub) 2026-04-07 15:45:50 +01:00
gingerBill
6e09ce9a04 intrinsics.to_bits_signed; simd.signbit 2026-04-07 15:25:41 +01:00
gingerBill
5de18d30f3 Add intrinsics.simd_approx_recip and intrinsics.simd_approx_recip_sqrt 2026-04-07 14:35:04 +01:00
gingerBill
885db93e20 Add intrinsics.simd_sums_of_n 2026-04-07 13:18:03 +01:00
gingerBill
30b6fab120 Fix simd.scatter/simd.gather for LLVM 22 2026-04-07 11:46:57 +01:00
gingerBill
ac1b5aea0f Add intrinsics.simd_odd_even; More core:simd operations 2026-04-07 11:35:20 +01:00
A1029384756
24f28498a2 [checker] fix break/continue being allowed in a nested unrolled range loop 2026-04-06 12:39:21 -04:00
lualvsil
1f38684011 Android: fix aligned_alloc not defined 2026-04-04 16:56:14 -03:00
gingerBill
4dd884bba2 Merge pull request #6511 from lucypero/opt-default-docs
Add -debug default behavior usage docs
2026-04-04 14:03:02 +01:00
Lucy
7313e6708d add -o docs to usage 2026-04-02 12:17:38 -03:00
gingerBill
a896fb2b4c Merge pull request #6507 from LeandroLibanio28H/fixing-declaration-order-bugs
Fixing declaration order bugs
2026-04-02 14:32:02 +01:00
Leandro Libanio
8d63c1bbff publish partial struct fields during struct field checking
Fixes: #6506
2026-04-01 13:34:04 -03:00
Leandro Libanio
c8cd8dd2db allow in-progress union variants when validating union members
Fixes: #5961
2026-04-01 12:39:48 -03:00
gingerBill
69606e4e22 Compiler arena_alloc_array utility procedure 2026-03-30 13:15:41 +01:00
gingerBill
52701390ce Remove dead code in filename_from_path 2026-03-30 11:52:08 +01:00
gingerBill
4dceffd049 When parsing an incorrect for loop, remove assert
// caused by this:
```
for a
b, c := d()
```
2026-03-30 11:50:59 +01:00
mtarik34b
7de688d893 Use int instead of u64 2026-03-28 02:50:05 +01:00