jakubtomsu
e78ee90ac2
Remove code that skipped checking blank params
2023-11-23 20:58:26 +01:00
gingerBill
f809788f75
Add missing type information for soa structs
2023-11-23 17:31:00 +00:00
gingerBill
4c1a9d2b3f
Fix &x[i] of ^#soa types
2023-11-23 16:56:18 +00:00
gingerBill
955be66f1a
Merge pull request #2894 from jakubtomsu/union-tag-intrinsics
...
New built-in procedures for unions
2023-11-22 16:26:15 +00:00
Jeroen van Rijn
8a56bb3b5f
Merge pull request #2944 from Kelimion/microarch-help
...
Add -microarch:?
2023-11-22 14:13:57 +01:00
gingerBill
37e79f9cca
Merge pull request #2962 from FragmentedCurve/issue_2601
...
Return value of _umtx_op on FreeBSD wasn't checked correctly
2023-11-22 12:58:00 +00:00
Jeroen van Rijn
25e9255157
Fix string_extension_position
2023-11-21 16:53:14 +01:00
Paco Pascal
d9fab5e824
Return value of _umtx_op on FreeBSD wasn't checked correctly
2023-11-18 20:56:22 -05:00
Jeroen van Rijn
8028033513
Merge pull request #2957 from laytan/no-crt-and-compile-assembly-on-darwin
...
-no-crt on darwin_arm64 and assembly compilation on darwin
2023-11-15 18:46:35 +01:00
Laytan Laats
6b9202dfbf
-no-crt and assembly compilation on darwin
2023-11-15 18:06:27 +01:00
Laytan Laats
9e5e49a65d
checker: suggest ..[]T when passing a slice to variadic arg ..T
2023-11-14 16:56:52 +01:00
Jeroen van Rijn
0ca39c70a5
Add -microarch:? to help text.
2023-11-11 13:07:12 +01:00
Jeroen van Rijn
f6f4734fee
Re-add break.
2023-11-10 20:22:20 +01:00
Jeroen van Rijn
f903951016
Facored out get_default_microarchitecture
...
Moved `generic` -> `x86-64-v2` selection into its own procedure so that `llvm_backend.cpp` and `main.cpp` can share the same logic.
2023-11-10 20:14:00 +01:00
Jeroen van Rijn
e19460cbd7
Add -microarch:?
2023-11-10 19:37:08 +01:00
gingerBill
c36ac4bdfd
Bodge: fix matrix_flatten issue in Win64 ABI
2023-11-06 13:59:06 +00:00
gingerBill
5edb2c5688
Fix #2913
2023-11-04 14:53:42 +00:00
gingerBill
ce5e7998ba
Add warning for things like 1.0 / some_int
2023-11-04 11:22:06 +00:00
gingerBill
864b29f7f1
Add missing calls
2023-11-01 13:57:20 +00:00
Laytan
9b68671082
Fix empty pass because of trailing comma
2023-10-31 19:29:54 +01:00
gingerBill
51caa930ca
Merge pull request #2905 from odin-lang/llvm-17-custom-passes
...
Explicit Optimization Passes for LLVM-17 Passes
2023-10-30 15:00:55 +00:00
gingerBill
b7af4e7f6b
Explicitly write out the passes for each level and remove certain passes
2023-10-30 12:31:24 +00:00
flysand7
82263a8b38
Merge branch 'master' into i386-syscall-asm-fix
2023-10-30 10:32:11 +11:00
gingerBill
61ad2a1345
TEST: Add sroa passes back
2023-10-29 20:45:19 +00:00
gingerBill
d589914956
Ignore store undef calls
2023-10-29 20:43:02 +00:00
gingerBill
f54a026acc
Remove trailing comma
2023-10-29 20:33:29 +00:00
gingerBill
fc06d7011d
Use default passes without coro, openmp, and sroa passes
2023-10-29 20:31:53 +00:00
gingerBill
ed7c9ec619
Test: use custom passes for -o:speed
2023-10-29 20:13:03 +00:00
gingerBill
1d9f6346d4
Force dynamic map calls on non-windows targets
2023-10-29 17:23:24 +00:00
flysand7
a3a3156ddd
Fix-up inline asm for i386 syscalls emit
2023-10-30 02:03:35 +11:00
gingerBill
034aead930
Only make static map get calls inlineable outside of debug builds
2023-10-27 14:55:54 +01:00
gingerBill
c8a5bafc6b
Fix static map calls and default to them!
2023-10-27 14:53:48 +01:00
gingerBill
bc0fa1240b
Disable using giant packed struct for type info table for the time being
2023-10-27 13:03:21 +01:00
jakubtomsu
056840975f
Merge branch 'odin-lang:master' into union-tag-intrinsics
2023-10-27 11:23:37 +02:00
jakubtomsu
160b23f991
Remove len,cap,min,max and implement type_union_base_tag_value, type_union_variant_count
2023-10-27 11:23:26 +02:00
jakubtomsu
ba536d67b4
Change and to or
2023-10-25 22:17:38 +02:00
jakubtomsu
625cb03284
Rename type_union_tag to type_union_tag_type
2023-10-25 20:23:24 +02:00
jakubtomsu
2f8d60ec47
Fix indentation
2023-10-25 17:33:27 +02:00
jakubtomsu
f7e0516254
Fix the intrinsics, add min and max
2023-10-25 15:47:18 +02:00
jakubtomsu
c76ab138eb
Naming, use variant index instead of tag
2023-10-24 22:15:33 +02:00
jakubtomsu
16c176dc89
Implement new union intrinsics and add support for len/cap
2023-10-23 22:03:06 +02:00
gingerBill
6ee7b05b27
Merge pull request #2850 from jcmdln/linux-llvm-17
...
Support LLVM >=17.0.1 on Darwin and Linux
2023-10-16 16:15:59 +01:00
jcmdln
8fe431e53e
Only check LLVM_VERSION_MAJOR >= 17 for PassBuilder inclusion
2023-10-15 12:03:56 -04:00
Jeroen van Rijn
a62039882e
Merge pull request #2867 from flysand7/linux-asm
...
Implement foreign asm (x86) imports for linux and osx
2023-10-15 12:53:32 +02:00
flysand7
a2a05e40e6
implemented foreign asm imports on linux/osx
2023-10-15 21:25:55 +11:00
Morten Hauke Solvang
fb5bb1cd83
llvm: specify calling convention on call
...
Looks like the compiler only was specifying the calling convention on
function declarations, but not on function calls.
But LLVM seems to produce "bad" code when optimizing with level -O2
unless you specify the same calling convention on the call too.
2023-10-13 21:21:54 +02:00
gingerBill
23c4615f5e
Disallow direct return a compound literal of a slice with elements
2023-10-13 12:19:48 +01:00
jcmdln
bd86cb22e0
Support LLVM >=17.0.1 on Darwin and Linux
2023-10-11 21:06:42 -04:00
gingerBill
cffa035c1b
Add ERROR_BLOCK() to check_unique_package_names
2023-10-09 13:36:15 +01:00
jakubtomsu
394c12f68d
Remove unnecessary check zero fields check
2023-10-01 13:13:09 +02:00