Antoni Boucher
63d308bd76
Fix broken libgccjit 12 CI
2024-07-02 12:43:41 -04:00
Antoni Boucher
6099d97bcb
Fix rebase
2024-07-02 12:40:45 -04:00
Antoni Boucher
05a41b88a9
Merge branch 'master' into sync_from_rust_2024_07_02
2024-07-02 12:40:16 -04:00
Antoni Boucher
ee41c1904a
Update to nightly-2024-07-02
2024-07-02 12:33:09 -04:00
Antoni Boucher
4d3d0d492f
Fix intrinsic/generic-arithmetic-pass.rs test
2024-07-02 12:28:44 -04:00
Antoni Boucher
cd014cda8c
Replace the type of global variables instead of replacing them
2024-07-02 12:28:25 -04:00
Antoni Boucher
606196b0cf
Comment libgccjit 12 CI
2024-07-02 12:28:19 -04:00
Guillaume Gomez
2ecab996f8
Fix build failure in cfg-if
2024-07-02 12:27:34 -04:00
Antoni Boucher
bbc765b49b
Fix clippy warnings
2024-07-02 12:27:31 -04:00
Antoni Boucher
21b1b11981
WIP: Implement dummy ThinLTO
...
FIXME: This seems very slow.
==> Not sure anymore: compare with the master branch.
2024-07-02 12:27:25 -04:00
Antoni Boucher
9ca7658817
Fix tests
2024-07-02 12:27:18 -04:00
Antoni Boucher
e8e6663167
Fix provenance intrinsics
2024-07-02 12:25:29 -04:00
Antoni Boucher
0ffcbb0f6e
Remove the hack in zext
...
TODO: make sure this doesn't break something else.
2024-07-02 12:24:47 -04:00
Guillaume Gomez
dd4a546de0
Add explanations for ptr func call argument cast
2024-07-02 12:24:11 -04:00
Guillaume Gomez
527c049584
Fix warnings
2024-07-02 12:24:07 -04:00
Guillaume Gomez
ca654047fb
Add missing cast for function_ptr arguments
2024-07-02 12:24:03 -04:00
Guillaume Gomez
30ee7ba862
Add shl and shr missing casts
2024-07-02 12:23:55 -04:00
Guillaume Gomez
684a69b4e6
Update gcc version to 272d0ccced960394fe6ff2b40b01610208cb4940
2024-07-02 12:23:39 -04:00
Guillaume Gomez
068fe5d10a
If the type of a global is not the same, we remove the global and replace it with a new one
2024-07-02 12:23:33 -04:00
Guillaume Gomez
a89f17869c
Fix stdarch crate add patch
2024-07-02 12:21:28 -04:00
Guillaume Gomez
621e948721
Fix clippy lint
2024-07-02 12:21:25 -04:00
Guillaume Gomez
fd7979d46d
Remove usage of -Zno-parallel-llvm
2024-07-02 12:21:16 -04:00
Guillaume Gomez
7615e04f82
Fix usage of get_size
for gcc 12
2024-07-02 12:20:47 -04:00
Guillaume Gomez
9b1211db58
Fix casts
2024-07-02 12:20:42 -04:00
Guillaume Gomez
263166894a
Update libgccjit version
2024-07-02 12:20:38 -04:00
Guillaume Gomez
580e5ba456
Format code
2024-07-02 12:20:34 -04:00
Guillaume Gomez
f848dbbda5
Fix non-master build
2024-07-02 12:20:30 -04:00
Guillaume Gomez
8e819fbb5c
Fix libcore patch
2024-07-02 12:20:25 -04:00
antoyo
173773e4b4
Merge pull request #534 from antoyo/master
...
Sync from fork
2024-06-25 09:36:10 -04:00
antoyo
70d36558ee
Merge pull request #17 from zedar/add_support_for_float16_float128
...
Add support for Float16, Float32, Float64 and Float128
2024-06-25 09:33:02 -04:00
Antoni Boucher
9274c63df3
Change Void to unreachable
2024-06-25 09:00:36 -04:00
Antoni Boucher
73db24970f
Add comment about compiler_builtins
2024-06-25 08:59:26 -04:00
Antoni Boucher
16e1ad7327
Fix clippy warnings
2024-06-25 08:10:29 -04:00
Robert Zakrzewski
dabf5faff0
Add support for Float64
2024-06-21 22:10:52 +02:00
bjorn3
994041a40c
Remove type_i1 and type_struct from cg_ssa
...
They are not representable by Cranelift
2024-06-21 19:30:26 +00:00
bjorn3
8a1e58169a
Remove check_overflow method from MiscMethods
...
It can be retrieved from the Session too.
2024-06-21 19:30:26 +00:00
bjorn3
9d25e851ce
Remove const_bitcast from ConstMethods
2024-06-21 19:26:07 +00:00
Robert Zakrzewski
2eaac2388d
Refactor type_f16|32|128 functions. Common type_kind()
...
fix
2024-06-21 17:21:46 +02:00
Robert Zakrzewski
55788e4a92
Update libgccjit version with fixed is_same_type_as for vector types
2024-06-21 16:12:05 +02:00
Antoni Boucher
c4e7c04de9
Fix location of check for sized floating-point types
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
0dad11feb9
Do not use target dependent Float32
...
fix formatting
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
b94cb8c01c
Add missing types in the type_kind function
...
reorder type_kind
reorder type_kind
reorder type_kind
fix
fix
fix
fix
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
fa18a181f7
Temporary downgrade compiler_builtins library. From version 0.1.110 the no-f16-f128 feautes introduced incompatibility
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
a486dbfc17
Upgrade libgccjit.version
2024-06-21 16:12:05 +02:00
Robert Zakrzewski
d0977e3e2a
Add support for Float16, Float32, Float64 and Float128
...
Upgrade libgccjit.version
Limit new Floatxx types to master branch only
apply rustfmt
Make new types available only when requested
Make new types available only when requested
Check if Float16 and Float128 are supported by the target platform
Replace Float with Float32 and Double with Float64 if target dependent type is defined
Add support for Float16|32|64|128 in the builder
Fix cargo fmt errors
Update gccjit wrapper
update hash of ligccjit
2024-06-21 16:12:05 +02:00
Nicholas Nethercote
8c5d84d102
Add blank lines after module-level //!
comments.
...
Most modules have such a blank line, but some don't. Inserting the blank
line makes it clearer that the `//!` comments are describing the entire
module, rather than the `use` declaration(s) that immediately follows.
2024-06-20 09:23:20 +10:00
Oli Scherer
cb1bde07c1
Remove redundant argument from subdiagnostic
method
2024-06-18 15:42:11 +00:00
Oli Scherer
527b3575ba
Use a dedicated type instead of a reference for the diagnostic context
...
This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle
2024-06-18 15:42:11 +00:00
Shashank Trivedi
a63b83eb4e
ui pattern failure tests ( #524 )
2024-06-10 17:13:44 -04:00
Ralf Jung
d565d3d23d
ScalarInt: size mismatches are a bug, do not delay the panic
2024-06-10 13:43:16 +02:00