Antoni Boucher
4636c59df5
Add more SIMD
2022-05-03 17:47:46 -04:00
Antoni Boucher
02970a6ca8
Add support for target builtins
2022-03-29 21:41:17 -04:00
bjorn3
db591778ac
Sync from rust bc881e83d1cced71046e844fa55c0b0e9f9af382
2022-03-26 12:52:21 +01:00
Erik Desjardins
a19138f1f9
cleanup: remove unused ability to have LLVM null-terminate const strings
2022-03-06 12:28:46 -05:00
Antoni Boucher
dcc0853a34
Add support for on_stack parameters
2022-02-27 22:23:03 -05:00
bjorn3
beb1767842
Don't export global allocs which are not statics
...
They aren't be referenced outside of the current cgu anyway. This should make
optimizations a bit more effective.
2022-02-27 10:14:50 +01:00
bjorn3
9d098424cd
Add and change a TODO
2022-02-26 18:30:07 +01:00
bjorn3
62e9b50f8d
Remove current_block field of CodegenCx
...
This field often had the wrong value when using multiple builders at the
same time.
2022-02-25 15:38:23 +01:00
antoyo
41f20fa3a5
Support 128-bit integers on platforms without native support ( #103 )
...
* Use sized integer types
* Add support for integer types not supported on some platforms
* Add feature to test non-native integers in CI
2022-01-30 21:45:14 -05:00
antoyo
5dc660b106
Support upgrading the alignment of a global variable ( #121 )
...
* Renable failing test
* Update to newest gccjit.rs
2022-01-26 08:57:17 -05:00
bjorn3
54d2ec1a82
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
2021-12-31 16:26:32 +01:00
antoyo
2989a25273
Feature/global rvalue initialization petter tomner ( #111 )
...
* Use new initialization functions
* Fix for new reflection patch
* Fix for new TLS patch
2021-12-15 23:48:10 -05:00
antoyo
9809f5d219
Update to nightly-2021-09-28 ( #97 )
2021-09-28 09:18:27 -04:00
antoyo
64c561dc22
Fix global initialization ( #91 )
...
* Make define_global() return a RValue directly
* Return LValue in functions declaring a global variable
* Remove useless cast
* Fix bytes_in_context to use an array rvalue
* Remove global_names which is unused
* Make const_struct create a constant struct
* Correctly initialize global in static_addr_of_mut
* Fix global variable initialization
* Remove workaround for ARGV
2021-09-26 12:20:02 -04:00
Commeownist
48d60ab7c5
Update to nightly-2021-09-11 ( #79 )
...
* Implement `black_box` as intrinsic
Responsibility of implementing the black box is now lies on backend
* Remove some TODOs
* Update to nightly-2021-09-17
* CI: don't fail on warnings
2021-09-17 17:19:25 -04:00
antoyo
e228f0c16e
Cleanup ( #67 )
2021-08-15 08:28:46 -04:00
antoyo
0c89065b93
Update to nightly-2021-08-12 ( #61 )
2021-08-14 10:05:49 -04:00
Antoni Boucher
afae271d5d
Initial commit
2021-08-12 21:46:50 -04:00