r01and
6f54eeb070
Remove unused structs
2024-02-29 23:13:09 +08:00
Oli Scherer
3ca0c5913e
Forbid implementing Freeze
even if the trait is stabilized
2024-02-29 14:10:29 +00:00
tempdragon
aeffc2fcaa
fix(fmt/style): Clippy-generated Code Correction
...
Modifications to Commit:
Modified: src/allocator.rs
Modified: src/asm.rs
Modified: src/back/lto.rs
Modified: src/consts.rs
Modified: src/debuginfo.rs
Modified: src/intrinsic/mod.rs
Modified: src/lib.rs
Modified: src/mono_item.rs
Modified: src/type_.rs
Modified: tests/lang_tests_common.rs
2024-02-29 10:33:11 +08:00
antoyo
d0ecf0c262
Merge pull request #458 from rust-lang/format-code
...
Format the code
2024-02-28 18:13:20 -05:00
Antoni Boucher
c2c68e3f4d
Format the code
2024-02-28 17:49:16 -05:00
antoyo
6ec50107e6
Merge pull request #455 from tempdragon/master
...
feat(debuginfo): Add support for debuginfo, without scope support
2024-02-28 16:59:16 -05:00
tempdragon
7c3565e569
fix(builder.rs): Add space after self when necessary
2024-02-29 04:02:27 +08:00
tempdragon
9cc0a4204d
fix(debuginfo.rs): Cleanup of redundant code.
...
1. Revert to the original `lookup_debug_loc` of DebugLoc return type
2. Removed the commented code of scope lookup
2024-02-29 03:56:17 +08:00
tempdragon
8c975d9861
fix(builder.rs): Rename r
to rvalue
in set_rval_location
2024-02-29 03:18:51 +08:00
tempdragon
fba0dae5fe
fix(builder.rs): Apply a variable name change to func param.
2024-02-29 03:04:48 +08:00
tempdragon
e18d3c3dfd
fix(builder.rs): Apply suggestions from code review
...
Co-authored-by: antoyo <antoyo@users.noreply.github.com>
2024-02-29 03:00:46 +08:00
tempdragon
ef158f295e
feat(debuginfo.rs): Add Comments on functions of LLVM Origin
2024-02-29 02:39:39 +08:00
Trevor Gross
8dd96baddf
Add f16
and f128
to rustc_type_ir::FloatTy
and rustc_abi::Primitive
...
Make changes necessary to support these types in the compiler.
2024-02-28 12:58:32 -05:00
tempdragon
eaeb54448e
fix(base): Remove the set_debug_info()
in compile_codegen_unit
2024-02-29 01:29:20 +08:00
tempdragon
51cd5f1c78
fix(code fmt): Apply style suggestions from code review
...
Co-authored-by: antoyo <antoyo@users.noreply.github.com>
2024-02-29 01:10:51 +08:00
tempdragon
09fd9087b6
fix(code fmt): builder.rs & base.rs
2024-02-28 11:38:44 +08:00
tempdragon
6170f48e3f
fix(builder.rs): Add cfg(feature = "master")
to set_location
2024-02-28 10:04:25 +08:00
tempdragon
5b053a3c3c
fix(Cargo.lock): Update Cargo.lock
2024-02-28 09:18:22 +08:00
tempdragon
8879155e56
fix(libgccjit.version): Update GCC commit version
2024-02-28 09:09:56 +08:00
Nicholas Nethercote
427d6176c5
Rename DiagnosticArg{,Map,Name,Value}
as DiagArg{,Map,Name,Value}
.
2024-02-28 08:55:37 +11:00
Nicholas Nethercote
7005ef9699
Rename DiagnosticBuilder
as Diag
.
...
Much better!
Note that this involves renaming (and updating the value of)
`DIAGNOSTIC_BUILDER` in clippy.
2024-02-28 08:55:35 +11:00
antoyo
64fc213926
Merge pull request #456 from GuillaumeGomez/clone-gcc
...
Add clone-gcc command
2024-02-27 13:34:42 -05:00
Guillaume Gomez
6560fecbdf
Add documentation on git_clone_root_dir
2024-02-27 18:48:29 +01:00
Erik Desjardins
70346fe2a4
introduce and use ptradd/inbounds_ptradd instead of gep
2024-02-26 22:45:53 -05:00
Erik Desjardins
19a648218f
remove struct_gep, use manual layout calculations for va_arg
2024-02-26 22:28:09 -05:00
Erik Desjardins
7d086c72f7
always use gep inbounds i8 (ptradd) for field offsets
2024-02-26 22:28:09 -05:00
bors
b4b180c218
Auto merge of #121635 - 823984418:remove_archive_builder_lifetime_a, r=nnethercote
...
Remove useless lifetime of ArchiveBuilder
`trait ArchiveBuilder<'a>` has a seemingly useless lifetime a, so I remove it. If this is intentional, please reject this PR.
```rust
pub trait ArchiveBuilder<'a> {
fn add_file(&mut self, path: &Path);
fn add_archive(
&mut self,
archive: &Path,
skip: Box<dyn FnMut(&str) -> bool + 'static>,
) -> io::Result<()>;
fn build(self: Box<Self>, output: &Path) -> bool;
}
```
2024-02-27 03:27:48 +00:00
Guillaume Gomez
aed59f0a51
Add clone-gcc
command
2024-02-26 22:43:46 +01:00
823984418
7f34119c1a
remove useless lifetime of ArchiveBuilder
2024-02-26 22:37:04 +08:00
Ralf Jung
a06a87b37d
rename 'try' intrinsic to 'catch_unwind'
2024-02-26 11:10:18 +01:00
Gary Guo
c7607b024e
Implement asm goto for LLVM and GCC backend
2024-02-24 18:50:09 +00:00
tempdragon
2ffe9d1eef
feat(int.rs&build.rs): Add location info to arithmetic operators
...
TODO:
1. Clean the unnecessary locations in builder.rs & int.rs
2. Add demangling support
3. Add debug scope support
4. Add vtable support
5. Clean up builder.rs locations
2024-02-24 20:12:08 +08:00
tempdragon
c638defad7
feat(debuginfo): Init Commit for debuginfo Support
...
TODO:
1. Add int.rs locations
2. Add demangling support
3. Add debug scope support
4. Add vtable support
5. Clean up builder.rs locations
2024-02-24 20:12:08 +08:00
antoyo
2262073092
Merge pull request #454 from rust-lang/update/gcc
...
Update gcc version
2024-02-23 12:51:42 -05:00
Antoni Boucher
bb5b75f28d
Update gcc version
2024-02-23 12:32:14 -05:00
Ralf Jung
0abd3b76b7
remove simd_reduce_{min,max}_nanless
2024-02-21 20:50:47 +01:00
Ralf Jung
a9b5c0832f
make simd_reduce_{mul,add}_unordered use only the 'reassoc' flag, not all fast-math flags
2024-02-21 16:28:20 +01:00
antoyo
2e67633d3c
Merge pull request #452 from GuillaumeGomez/master-cfg
...
Remove unused `feature = "master"` cfg in build_system
2024-02-21 09:28:12 -05:00
Guillaume Gomez
114c25feeb
Pass --no-default-features
to codegen as well
2024-02-21 14:58:04 +01:00
Guillaume Gomez
d2210d4976
Correctly pass --no-default-features
when argument is passed
2024-02-21 14:42:24 +01:00
Guillaume Gomez
b87de7325f
Correctly handle "master" feature
2024-02-21 14:31:34 +01:00
bors
7a991d522a
Auto merge of #120718 - saethlin:reasonable-fast-math, r=nnethercote
...
Add "algebraic" fast-math intrinsics, based on fast-math ops that cannot return poison
Setting all of LLVM's fast-math flags makes our fast-math intrinsics very dangerous, because some inputs are UB. This set of flags permits common algebraic transformations, but according to the [LangRef](https://llvm.org/docs/LangRef.html#fastmath ), only the flags `nnan` (no nans) and `ninf` (no infs) can produce poison.
And this uses the algebraic float ops to fix https://github.com/rust-lang/rust/issues/120720
cc `@orlp`
2024-02-21 09:43:33 +00:00
antoyo
e785093382
Merge pull request #450 from rust-lang/sync_from_rust_2024_02_20
...
Sync from rust 2024/02/20
2024-02-20 17:01:46 -05:00
Ben Kimock
6ff147b205
Add "algebraic" versions of the fast-math intrinsics
2024-02-20 12:39:03 -05:00
Antoni Boucher
e7b7c98e1c
Fix tests
2024-02-20 12:02:09 -05:00
Antoni Boucher
c3d5b7fe3b
Fix patches
2024-02-20 10:42:37 -05:00
Antoni Boucher
f6e16e95df
Merge branch 'master' into sync_from_rust_2024_02_20
2024-02-20 10:24:06 -05:00
Antoni Boucher
6bbbf59951
Update to nightly-2024-02-20
2024-02-20 10:23:05 -05:00
antoyo
3e02db23af
Merge pull request #446 from sadlerap/fix-simd-gather
...
fix tests/ui/simd/issue-89193.rs and mark as passing
2024-02-18 14:26:57 -05:00
Andy Sadler
4ec4209ff5
use default
as output type source in simd_gather
...
Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2024-02-18 12:40:20 -06:00