Commit Graph

6558 Commits

Author SHA1 Message Date
kalsprite
9e7ccbb127 span caret on matrix on over max size 2026-08-04 18:39:43 -07:00
kalsprite
fa3ea5461c fix col err said rows 2026-08-04 18:32:53 -07:00
Jeroen van Rijn
dc28a91e88 Merge pull request #7221 from kalsprite/string16_oob
string16 oob
2026-08-05 03:15:06 +02:00
Jeroen van Rijn
f1dc9ce3c1 Merge pull request #7220 from kalsprite/i64_const
fix: Signed Int Constants permitted to exceed size
2026-08-05 03:09:29 +02:00
kalsprite
76c0c2c659 string16 oob 2026-08-04 17:59:15 -07:00
kalsprite
cd6a913e55 fix: oob signed int consts 2026-08-04 17:34:36 -07:00
Jeroen van Rijn
cfab1e391a Merge pull request #7218 from kalsprite/transposition
fix levenstein_distance
2026-08-05 02:28:37 +02:00
kalsprite
3fe310c7e9 fix levenstein_distance 2026-08-04 17:13:31 -07:00
kalsprite
439ab0a52e Merge branch 'master' into upstream_fixes 2026-08-04 17:02:36 -07:00
kalsprite
49f1ea6d2a fix: named operands dont advance 2026-08-04 17:00:04 -07:00
Mihail Moskov
2f0ced70ab fixes an obscure segfault on targets that ignore zero sized params in the llvm signature 2026-08-04 18:57:32 +03:00
Mihail Moskov
9630660f53 fixes compile error due to no_alias shifting position on procedures with indirect returns 2026-08-04 16:51:04 +03:00
gingerBill
14007d51d3 Merge pull request #7119 from haferflocken/caller-expression-for-procedures
Allow #caller-expression on constant parameters which are procedures
2026-08-04 10:53:52 +02:00
gingerBill
dd796f5574 Merge pull request #7139 from bingis-khan/fix_nil_type_mismatch
Fix LLVM codegen for matching on `nil` for `union{}`
2026-08-03 16:06:55 +02:00
gingerBill
39e5d78aba Improve error handling on set in set comparisons to suggest using <= instead 2026-08-03 15:01:51 +01:00
gingerBill
9914a57fc7 Add intrinsics.soa_copy_from_slice and use it within _append_soa_elems replacing the old handwritten unrolled approach 2026-08-03 14:41:04 +01:00
Yawning Angel
711d385794 src: Add SpacemiT X-100 and A-100 microarchitectures
Generated featuregen against the vendor supplied (Bianbu) LLVM 21.1.8
package.
2026-08-02 22:09:22 +09:00
Yawning Angel
cd08f535c8 src: Use llvm.readsteadycounter on Linux RISC-V
Why `rdcycle` is kernel only while `rdtime` is not is a mystery to me.
2026-08-02 22:09:22 +09:00
gingerBill
ed2cb5723f Merge pull request #7132 from Chaosus/fix_vet_tag_error_hint
Fix error hint for vet tag
2026-07-31 10:25:01 +02:00
jerksto
ff949ac6fd Don't assert on -define: values with an exponent 2026-07-30 10:59:10 -04:00
David Bader
edc522a05c add assert to make sure old and new double_dash_pos are the same 2026-07-30 13:38:52 +02:00
David Bader
7130f042dc define out unused run_args on Windows 2026-07-30 13:38:51 +02:00
David Bader
16ee03828b handle spaces in args for 'odin run . -- <args>' on Windows 2026-07-30 13:38:51 +02:00
David Bader
894d44346e run_args_start_idx is identical to double_dash_pos, no need to check again 2026-07-30 13:38:50 +02:00
aelobdog
d8eb6e0481 fix: expand_values panic on type expressions 2026-07-30 00:26:12 +05:30
aelobdog
f465f3dc6f fix: hang for poly procs with default proc literal params 2026-07-28 22:48:38 +05:30
Chaosus
33247c8ca9 Bring back "extra" error line 2026-07-26 19:49:57 +03:00
bingis-khan
c1e327c566 Fix LLVM codegen for matching on nil for union{} 2026-07-26 11:11:36 +02:00
Chaosus
853134048e Fix error hint for vet tag 2026-07-25 17:35:32 +03:00
aelobdog
39cbaf0494 fix: reject the use of labels as expressions 2026-07-25 19:28:56 +05:30
John Werner
cf2d4000bd Allow #caller-expression on constant parameters which are procedures 2026-07-23 21:32:22 -07:00
corley
b64407915d fixes spurious no_alias errors during polymorphic overload resolution 2026-07-24 01:13:03 +03:00
gingerBill
786cc956e3 Merge pull request #7090 from catermujo/push-mpppyyryqunl
types: allow fixed-capacity arrays in constant unions
2026-07-21 11:34:38 +02:00
Isabella Basso
0843def5f5 types: allow fixed-capacity arrays in constant unions
Fixes: #7089
2026-07-19 18:34:48 -03:00
corley
f427e66603 fixes compile time equality comparison for utf16 strings 2026-07-17 23:34:08 +03:00
gingerBill
f34870f232 Merge pull request #7064 from tf2spi/7027-add-constant-typeid-comparison
Add typeid constant case to check_comparison
2026-07-16 11:18:39 +01:00
gingerBill
18413699d1 Merge pull request #7060 from Znarf64/fix_deadlock_in_backend
Fix a deadlock in the backend where the holder of the `func_raw_types_mutex` and `types_mutex` were waiting for each other
2026-07-16 11:16:45 +01:00
gingerBill
3f2a66044b Merge pull request #7056 from korvahkh/fix-untyped-coercion
Stricter type coercions in `convert_to_typed`
2026-07-16 11:15:41 +01:00
Ruan
03aa867782 Compare mmap result to MAP_FAILED rather than nullptr 2026-07-16 11:44:58 +02:00
Jeroen van Rijn
0051152f76 Merge pull request #7042 from catermujo/push-nyzmuzxuzpox
compiler: preserve recursive struct aliases
2026-07-16 10:21:31 +02:00
misomosi
dac6e7dbad Add typeid constant case to check_comparison 2026-07-15 21:54:34 -04:00
Franz
cd577b2eef Shrink lock region of func_raw_types_mutex to avoid deadlock. 2026-07-15 23:14:24 +02:00
korvahkh
f36ed5e668 Stricter type coercions in convert_to_typed
There were issues similar to #6923 with
arrays, matrices, & SIMD vectors.
This PR addresses those.
2026-07-15 10:26:15 -05:00
gingerBill
7c2b219259 Merge pull request #7045 from BlackGoku36/master
Fix arm64 argument alignment abi for composite type of size <= 16 bytes
2026-07-15 14:01:48 +01:00
gingerBill
663bc20c51 Merge pull request #7051 from FourteenBrush/patch-6
Fix switch fallthrough in lb_emit_struct_ev (Fixes #7050)
2026-07-15 14:00:20 +01:00
FourteenBrush
727b5043e5 Fix switch fallthrough in lb_emit_struct_ev 2026-07-15 14:13:53 +02:00
Isabella Basso
ca878a1de7 checker: keep polymorphic probes read-only
Overload candidate checks pass modify_type=false, but generic array
counts still specialized their candidate Type and scope entity. Parallel
probes could then observe and mutate the same partial specialization.

Resolve generic dimensions in local state and commit them only when
specializing. Keep array-like and map cache updates out of probe mode.
2026-07-15 08:51:43 -03:00
Isabella Basso
43923eb3cb compiler: fix constant aggregate rebuild
fixes: #7005
2026-07-15 05:29:38 -03:00
Urjasvi Suthar
38788c0348 Fix arm64 argument alignment abi for composite type of size <= 16 bytes 2026-07-14 21:33:39 +05:30
gingerBill
a6af2551c6 Merge pull request #7039 from Znarf64/fix_subtype_comparisons
Fix subtype comparisons
2026-07-14 13:54:35 +01:00