Commit Graph

6601 Commits

Author SHA1 Message Date
MauriceElliott
adc50a1184 fixup! fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag. 2026-07-01 21:21:02 +01:00
MauriceElliott
56cee0c2cf fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag. 2026-07-01 21:18:28 +01:00
misomosi
ae1280d6f9 Convert untyped to variant type unconditionally 2026-07-01 12:54:06 -04:00
misomosi
f276d77c0c Fix misuse of lb_emit_(min|max) in simd_(min|max) 2026-07-01 10:59:03 -04:00
misomosi
a2a0b83162 Allow casts to change mode for array programming 2026-07-01 07:59:08 -04:00
gingerBill
882736d330 Merge pull request #6920 from tf2spi/6674-patch-cmp-anonymous-procs
Add ways to diff anon procs with same signature
2026-07-01 11:02:21 +01:00
misomosi
eb47032840 Add ways to diff anon procs with same signature 2026-07-01 01:49:35 -04:00
gingerBill
45eed87309 Allow #no_alias on any pointer-like type 2026-07-01 01:21:49 +01:00
Jeroen van Rijn
2d2979a5f2 Remove old pass manager 2026-06-30 22:44:28 +02:00
Jeroen van Rijn
9cd2481b88 Last piece of LLVM 14 support 2026-06-30 21:20:17 +02:00
Jeroen van Rijn
6154d5c577 Further LLVM 14 support removal. 2026-06-30 21:16:48 +02:00
Jeroen van Rijn
40b28a2ded LLVM 14 removal cleanup 2026-06-30 21:12:42 +02:00
MauriceElliott
a3fa3476c6 feat(arm32 cdecl): Added thumb as the triple for cortex-m7. Updated the calling convention for cortex-m7 arm32 micro processors as the soft float register was being used when calling across the C ABI boundary causing guff data to be passed. 2026-06-30 20:07:36 +01:00
misomosi
c7cd4b9e95 Only allow direct CVarArg usage in c_va_start 2026-06-30 14:18:54 -04:00
Maurice Elliott
ab11e45a4a Merge branch 'odin-lang:master' into master 2026-06-30 19:17:24 +01:00
gingerBill
e276ce552b Merge pull request #6908 from tf2spi/6884-emit-tuple-c-varargs
Use lb_add_values_to_array for cvarargs
2026-06-30 12:33:27 +01:00
gingerBill
62511914de When inserting a constant union into a struct literal, rebuild the struct to be non-named with llvm_const_insert_value_with_rebuild 2026-06-30 12:16:21 +01:00
gingerBill
28a43fd4f7 Short-circuit further for constant unions in the LLVM constant literal syntax 2026-06-30 11:49:35 +01:00
gingerBill
d0847b7ce8 Merge pull request #6913 from tf2spi/6831-add-constant-type-checks
Add more constant type cases
2026-06-30 11:29:26 +01:00
misomosi
c8aa151a66 Add more constant type cases 2026-06-29 22:46:17 -04:00
gingerBill
47fa8df598 Fix comment 2026-06-29 17:01:44 +01:00
gingerBill
ac6a0f9a40 Move around the ordering of find_visual_studio_and_windows_sdk 2026-06-29 16:36:21 +01:00
gingerBill
1cdf314015 Remove debug print string 2026-06-29 16:04:24 +01:00
misomosi
12e8ba8d66 Use lb_add_values_to_array for cvarargs 2026-06-29 10:01:50 -04:00
gingerBill
cec2127068 Merge pull request #6906 from tf2spi/6902-off-by-one
Report range type correctly on out-of-bounds
2026-06-29 13:51:09 +01:00
gingerBill
37c349e604 Fix #6907 2026-06-29 13:47:46 +01:00
misomosi
fc62110392 Report range type correctly on out-of-bounds 2026-06-29 08:29:14 -04:00
gingerBill
e24bbb813c Merge branch 'master' into bill/constant-union-fixes 2026-06-29 13:02:12 +01:00
gingerBill
b9a9846b7c Fix constant union stuff against tests 2026-06-29 13:00:44 +01:00
gingerBill
42f681baff Revert some of the union changes 2026-06-29 12:18:40 +01:00
gingerBill
2f3174fe10 Fix llvm_const_cast with constant union literals 2026-06-29 11:41:27 +01:00
gingerBill
feb9b6159e Fix pkg.Constant.field union access 2026-06-29 11:06:34 +01:00
gingerBill
138748c24a Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-29 10:49:47 +01:00
gingerBill
e227c736e6 Fix #6786 2026-06-29 10:49:29 +01:00
gingerBill
6fae6827cc Merge pull request #6904 from tf2spi/6889-count-bits
Resolve panic on 64-bit overflow
2026-06-29 10:30:00 +01:00
gingerBill
6e65b5e4bc Allow for more "constantable" union values 2026-06-29 00:55:07 +01:00
misomosi
5be99bf1c2 Add missing check_is_expressible 2026-06-28 19:25:22 -04:00
misomosi
85c2aaf0a4 Use libtommath API for counting bits 2026-06-28 19:25:02 -04:00
Maurice Elliott
501cf908bb Merge branch 'odin-lang:master' into master 2026-06-28 21:58:24 +01:00
gingerBill
7da5608121 Add _append_elem_ptr to optimize for append when the element is internally pointer-like 2026-06-28 13:31:49 +01:00
Maurice Elliott
3c52217338 Merge branch 'odin-lang:master' into master 2026-06-27 23:13:23 +01:00
gingerBill
910ddb4626 Check for nullptr when none of the options match in a proc group 2026-06-26 15:09:18 +01:00
gingerBill
7aff98a150 Fix procedure_of(x) 2026-06-26 15:07:54 +01:00
korvahkh
0aa6d8f318 Fix #6885
Broadcasting `field = value` compound literals
would assert.
This is because we were checking for a
`field = value` compound before checking
if the types matched, and thus could broadcast.
2026-06-24 16:28:02 -05:00
gingerBill
6fdaedf182 Fix indentation 2026-06-24 14:05:35 +01:00
gingerBill
5c48d91f8e And missing command line flag information 2026-06-24 13:44:49 +01:00
gingerBill
40e54a97ed Merge branch 'master' into bill/bedrock 2026-06-24 11:07:02 +01:00
gingerBill
ade003e128 Allow for -> (#simd[N]T) style return types 2026-06-24 10:51:28 +01:00
gingerBill
078664a5c2 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-24 10:38:31 +01:00
gingerBill
f602a6acd7 Fix #6725 #6798 #4943 2026-06-24 10:38:21 +01:00