Antoni Boucher
e7f7fb87dd
Fix tests
2023-10-09 10:55:25 -04:00
Antoni Boucher
bd7e5b9d4e
Fix bitcast with different sizes
2023-10-09 10:38:37 -04:00
Antoni Boucher
237be9e0cb
Update to nightly-2023-10-08
2023-10-08 11:32:07 -04:00
Antoni Boucher
c567e59bad
Merge branch 'master' into sync_from_rust_2023_10_08
2023-10-08 11:31:53 -04:00
antoyo
d484836a6f
Merge pull request #349 from rust-lang/fix/128-bit-ints-operations
...
Fix/128 bit ints operations
2023-10-08 09:29:13 -04:00
Antoni Boucher
b3c10d4a7d
Fix 128-bit non-native integers negation
2023-10-08 08:49:20 -04:00
Antoni Boucher
b3fecae7d7
Fix 128-bit non-native integers comparison
2023-10-07 15:14:54 -04:00
antoyo
c6447be05f
Merge pull request #345 from GuillaumeGomez/build-sysroot
...
Rustify build.sh script
2023-10-05 17:11:26 -04:00
Guillaume Gomez
33e1daa51b
Improve code
2023-10-05 21:10:33 +02:00
Guillaume Gomez
eedf1b6cb4
Migrate build.sh script to rust
2023-10-04 23:21:03 +02:00
bors
91ab7909e1
Auto merge of #102099 - InnovativeInventor:re-cold-land, r=nikic
...
Rebased: Mark drop calls in landing pads cold instead of noinline
I noticed that certain inlining optimizations were missing while staring at some compiled code output. I'd like to see this relanded, so I rebased the PR from `@erikdesjardins` (PR #94823 ).
This PR reapplies https://github.com/rust-lang/rust/pull/92419 , which was reverted in https://github.com/rust-lang/rust/pull/94402 due to https://github.com/rust-lang/rust/issues/94390 .
Fixes https://github.com/rust-lang/rust/issues/46515 , fixes https://github.com/rust-lang/rust/issues/87055 .
Update: fixes #97217 .
2023-10-02 22:02:12 +00:00
Erik Desjardins
7e8c85ba31
Reapply: Mark drop calls in landing pads cold instead of noinline
...
Co-authored-by: Max Fan <git@max.fan>
Co-authored-by: Nikita Popov <npopov@redhat.com>
2023-10-02 10:37:53 +02:00
bors
c7407eff9d
Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Simulacrum
...
bootstrap major change detection implementation
The use of `changelog-seen` and `bootstrap/CHANGELOG.md` has not been functional in any way for many years. We often do major/breaking changes but never update the changelog file or the `changelog-seen`. This is an alternative method for tracking major or breaking changes and informing developers when such changes occur.
Example output when bootstrap detects a major change:
![image](https://github.com/rust-lang/rust/assets/39852038/ee802dfa-a02b-488b-a433-f853ce079b8a )
2023-10-02 07:41:52 +00:00
onur-ozkan
b1862af177
implement major change tracking for the bootstrap configuration
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-01 16:54:52 +03:00
antoyo
71febd94f4
Merge pull request #344 from GuillaumeGomez/improvements
...
Improve y.sh script (to potentially allow dependencies) and improve `build_system` help message
2023-09-25 17:19:20 -04:00
Guillaume Gomez
6be1f36744
Add help message
2023-09-25 17:17:50 +02:00
Guillaume Gomez
ccf5799782
Use cargo to build the build system binary
2023-09-25 17:04:44 +02:00
antoyo
2e585e85e1
Merge pull request #343 from GuillaumeGomez/add-attribute-doc
...
Add guide to add new attributes support in libgccjit
2023-09-22 18:23:15 -04:00
Oli Scherer
8373b05514
Have a single struct for queries and hook
2023-09-22 16:26:20 +00:00
Guillaume Gomez
a7d8b8eb9f
Add guide to add new attributes support in libgccjit
2023-09-22 16:50:42 +02:00
Oli Scherer
38b9e26a75
Add a way to decouple the implementation and the declaration of a TyCtxt method.
2023-09-22 09:23:15 +00:00
antoyo
e7d1dc33c6
Merge pull request #337 from rust-lang/fix/gep
...
Fix gep on pointers to non-number
2023-09-20 17:57:04 -04:00
Antoni Boucher
be3b1e3321
Fix gep on pointers to non-number
2023-09-20 09:10:24 -04:00
antoyo
6118ee488a
Merge pull request #335 from rust-lang/feature/rdrand64
...
Implement llvm.x86.rdrand.64
2023-09-18 19:18:13 -04:00
Antoni Boucher
5ab4e2b484
Implement llvm.x86.rdrand.64
2023-09-18 18:24:09 -04:00
Ralf Jung
cd519aabd7
fix gcc, cranelift build
2023-09-15 10:43:44 +02:00
Ralf Jung
22e13b4c55
clarify PassMode::Indirect as well
2023-09-15 10:43:44 +02:00
Antoni Boucher
f3b82df8f8
Add note to readme
2023-09-14 21:49:14 -04:00
antoyo
44b9c75359
Merge pull request #329 from rust-lang/fix/enable-features
...
Fix/enable features
2023-09-14 21:48:39 -04:00
Antoni Boucher
f096c19db5
Handle target-cpu=native
2023-09-14 20:47:14 -04:00
Antoni Boucher
a9a2c687ff
Send -march to gcc
2023-09-14 20:42:14 -04:00
Antoni Boucher
87daba2cad
Only add feature flags on functions
2023-09-14 20:35:11 -04:00
Antoni Boucher
20d4c39462
Correctly handle target features
2023-09-14 19:55:19 -04:00
Antoni Boucher
f692124c5d
Handle disabled features
2023-09-14 19:55:19 -04:00
Antoni Boucher
5bb0d630ab
Do not always enable avx2
2023-09-14 19:55:19 -04:00
Antoni Boucher
45c501cdf9
Add note to readme
2023-09-14 19:55:19 -04:00
Antoni Boucher
adc0b210f3
Enable one more feature
2023-09-14 19:55:19 -04:00
Antoni Boucher
f6337e4966
Don't always enabled CPU features
2023-09-14 19:55:19 -04:00
antoyo
067bfc077b
Merge pull request #331 from rust-lang/feature/static-relocation
...
Handle static relocation model
2023-09-14 19:54:24 -04:00
Antoni Boucher
32df82648d
Handle static relocation model
2023-09-14 19:02:00 -04:00
Deadbeef
d7766ffa36
treat host effect params as erased generics in codegen
...
This fixes the changes brought to codegen tests when effect params are
added to libcore, by not attempting to monomorphize functions that get
the host param by being `const fn`.
2023-09-14 07:34:35 +00:00
antoyo
661114246a
Merge pull request #330 from rust-lang/fix/asm-att-const
...
Fix const handling in ATT syntax
2023-09-09 13:33:23 -04:00
Antoni Boucher
cd1644a658
Fix const handling in ATT syntax
2023-09-09 12:50:25 -04:00
antoyo
15fafe70c4
Merge pull request #328 from GuillaumeGomez/gimple-output
...
Set the correct gimple output format
2023-09-07 22:10:42 -04:00
Guillaume Gomez
3e61cc3de2
Add simpler alternative to generate gimple
2023-09-07 14:21:58 +02:00
Guillaume Gomez
b3916539dd
Set the correct gimple output format
2023-09-07 14:03:56 +02:00
antoyo
e39f3a2484
Merge pull request #327 from GuillaumeGomez/fix-gimple-guide
...
Fix gimple guide
2023-09-06 17:53:03 -04:00
Guillaume Gomez
7324ee2da8
Add missing compilation
2023-09-06 17:38:50 +02:00
Guillaume Gomez
d214df291c
Fix gimple guide
2023-09-06 15:20:08 +02:00
Daniel Paoliello
8028885239
Deduplicate inlined function debug info, but create a new lexical scope to child subsequent scopes and variables from colliding
2023-09-01 14:27:21 -07:00