Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subtree update cg_gcc 2023/10/09 #116578

Merged
merged 151 commits into from
Oct 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
9176f51
Support 128-bit enum variant in debuginfo codegen
ldm0 Jun 9, 2023
ec10051
remove box_free and replace with drop impl
beepster4096 Aug 1, 2022
42ecb50
Apply changes to fix python linting errors
tgross35 Jun 10, 2023
876a7d8
Auto merge of #100036 - DrMeepster:box_free_free_box, r=oli-obk
bors Jun 17, 2023
38c16e9
Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into sync-cg_…
antoyo Jun 19, 2023
3dd0699
Update Cargo.lock
antoyo Jun 20, 2023
ab1e4bb
Rollup merge of #112499 - tgross35:py-ruff-fixes, r=Mark-Simulacrum
compiler-errors Jun 20, 2023
ac79ddb
Auto merge of #112814 - antoyo:sync-cg_gcc-2023-06-19, r=bjorn3
bors Jun 22, 2023
afc6489
Add support for cold attribute
GuillaumeGomez Jun 30, 2023
5920bad
Update dependencies
GuillaumeGomez Jul 3, 2023
48a3613
Merge pull request #286 from GuillaumeGomez/cold-attribute
antoyo Jul 3, 2023
d710bee
Narrow trait `CoverageInfoBuilderMethods` down to just one method
Zalathar Jul 5, 2023
744d05c
Remove trait `CoverageInfoMethods`, since non-LLVM backends don't nee…
Zalathar Jul 5, 2023
91e0400
Add support for detecting CPU features
antoyo Jul 5, 2023
761324d
Move `TyCtxt::mk_x` to `Ty::new_x` where applicable
BoxyUwU Jul 5, 2023
c4e86b6
Merge pull request #299 from rust-lang/feature/jit-cpu-features
antoyo Jul 5, 2023
e1092eb
Add license explanations
antoyo Jul 6, 2023
e062c2c
Merge pull request #303 from rust-lang/license
antoyo Jul 9, 2023
97a0d35
Add support for "returns_twice" function attribute
GuillaumeGomez Jul 6, 2023
a6d1aa2
Update gccjit dependency
GuillaumeGomez Jul 12, 2023
3a74f93
Merge pull request #301 from GuillaumeGomez/returns-twice
antoyo Jul 13, 2023
c04a631
Add support for "pure" function attribute
GuillaumeGomez Jul 13, 2023
d873fa7
refactor(rustc_middle): Substs -> GenericArg
mdibaiee Jul 11, 2023
7ba60ec
Extract a create_wrapper_function for use in allocator shim writing
bjorn3 Jul 15, 2023
2c0c87d
rustc_llvm: Add a `-Z print-llvm-stats` option to expose LLVM statist…
pcwalton Nov 5, 2022
4bebfae
Introduce `MonoItemData`.
nnethercote Jul 14, 2023
34922fc
Update gccjit-rs version
GuillaumeGomez Jul 17, 2023
ce0077c
Merge pull request #306 from bjorn3/extract_helper
antoyo Jul 17, 2023
57d2ecb
Merge pull request #305 from GuillaumeGomez/pure-attr
antoyo Jul 17, 2023
5277ea1
support for mips64r6 as a target_arch value
chenx97 Jun 2, 2023
f2dded2
support for mips32r6 as a target_arch value
chenx97 Jun 28, 2023
5f56f49
UPDATE - replace gcc monomorphization errors with ssa ones
JhonnyBillM Jul 20, 2023
f746fe1
UPDATE - replace expected_simd error with one from codegen_ssa
JhonnyBillM Jul 20, 2023
1984e20
Don't treat ref. fields with non-null niches as `dereferenceable_or_n…
moulins Jun 26, 2023
c022c81
Rollup merge of #113723 - khei4:khei4/llvm-stats, r=oli-obk,nikic
matthiaskrgr Jul 21, 2023
918332b
Add support for "ffi_const" function attribute
GuillaumeGomez Jul 21, 2023
e865542
Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk
bors Jul 21, 2023
e2a8474
Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"
dtolnay Jul 22, 2023
136548d
Update gccjit dependency
GuillaumeGomez Jul 22, 2023
cd57c6e
Add instructions on how to generate GIMPLE format
GuillaumeGomez Jul 21, 2023
6abd12a
Merge pull request #308 from GuillaumeGomez/gimple
antoyo Jul 22, 2023
36b0594
Merge pull request #307 from GuillaumeGomez/const-attr
antoyo Jul 22, 2023
9e58bac
Auto merge of #113877 - JhonnyBillM:reuse-codegen-ssa-monomorphizatio…
bors Jul 24, 2023
14964ed
Update the IRC link to the link of the Matrix channel
antoyo Jul 24, 2023
52716d2
Add back link to IRC
antoyo Jul 27, 2023
bc4a65d
cg_ssa: remove pointee types and pointercast/bitcast-of-ptr
erikdesjardins Jul 29, 2023
e94abcd
Use standard Rust capitalization rules for names containing "LTO".
nnethercote Jul 21, 2023
3cde194
Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3
bors Aug 1, 2023
de69c67
Forbid old-style `simd_shuffleN` intrinsics
oli-obk Jul 10, 2023
913fcf5
Use `unstable_target_features` when checking inline assembly
Amanieu Aug 4, 2023
46062cd
Fix ICE failed to get layout for ReferencesError
chenyukang Aug 4, 2023
7ebcd4d
Rollup merge of #114450 - chenyukang:yukang-fix-114435, r=compiler-er…
matthiaskrgr Aug 4, 2023
fe6a477
Generate better function argument names in global_allocator expansion
dtolnay Aug 6, 2023
9c8ae2f
Add a new `compare_bytes` intrinsic instead of calling `memcmp` directly
scottmcm Aug 2, 2023
b132a7e
Apply suggestions from code review
scottmcm Aug 4, 2023
8a160d6
Rollup merge of #114382 - scottmcm:compare-bytes-intrinsic, r=cjgillot
matthiaskrgr Aug 7, 2023
fb6ec5e
Use the same DISubprogram for each instance of the same inlined funct…
dpaoliello Aug 7, 2023
43431e4
Update to nightly-2023-08-12
antoyo Aug 13, 2023
607ec89
Merge branch 'master' into sync_from_rust_2023_08_12
antoyo Aug 13, 2023
814c2e2
add a csky-unknown-linux-gnuabiv2 target
Dirreke Jul 13, 2023
afd4e1e
Auto merge of #114467 - Amanieu:asm-unstable-features, r=davidtwco
bors Aug 15, 2023
e3deac5
Fix tests
antoyo Aug 13, 2023
542c82e
Fix for libgccjit 12
antoyo Aug 15, 2023
53d89e8
Fix tests
antoyo Aug 15, 2023
2f11b37
Merge pull request #313 from rust-lang/sync_from_rust_2023_08_12
antoyo Aug 15, 2023
033dc1f
Regenerate intrinsics
GuillaumeGomez Aug 11, 2023
d929cf8
Display run commands when using `llvm-tblgen`
GuillaumeGomez Aug 11, 2023
4cbf1c7
Fix command to run custom rustc
GuillaumeGomez Aug 15, 2023
2b8fe8f
Merge pull request #317 from GuillaumeGomez/fix-command
antoyo Aug 17, 2023
4748fdc
Add doc for sending patches to GCC
GuillaumeGomez Aug 16, 2023
4ad266a
Merge pull request #318 from GuillaumeGomez/gcc-contribution
antoyo Aug 17, 2023
186320a
Merge pull request #311 from GuillaumeGomez/regen
antoyo Aug 17, 2023
6b588cc
Rustify prepare.sh command
GuillaumeGomez Aug 18, 2023
18d22d5
Don't capture output on git commands
GuillaumeGomez Aug 19, 2023
c682e9c
Correctly set path
GuillaumeGomez Aug 19, 2023
08eb006
Remove unused Cargo feature
GuillaumeGomez Aug 21, 2023
4ffa425
Merge pull request #319 from GuillaumeGomez/build-system
antoyo Aug 21, 2023
17b7f1e
Auto merge of #114643 - dpaoliello:inlinedebuginfo, r=wesleywiser
bors Aug 22, 2023
5ac2530
Add support for `noalias` function parameters
GuillaumeGomez Aug 12, 2023
189dd70
Update gccjit dependency
GuillaumeGomez Aug 17, 2023
ec4a85e
Revert "Use the same DISubprogram for each instance of the same inlin…
wesleywiser Aug 25, 2023
44401b8
carry out the same changes in the gcc backend
RalfJung Aug 28, 2023
0d2cd6f
remove an unused argument
RalfJung Aug 28, 2023
cdb012e
Rollup merge of #115240 - RalfJung:llvm-no-type, r=bjorn3
matthiaskrgr Aug 28, 2023
642fae9
Don't ICE on layout computation failure
atsuzaki Aug 28, 2023
c83e567
Don't generate __restrict__ attribute for ByValue arguments
GuillaumeGomez Aug 29, 2023
13e402e
Rollup merge of #111580 - atsuzaki:layout-ice, r=oli-obk
matthiaskrgr Aug 29, 2023
2b956f5
Merge pull request #312 from GuillaumeGomez/fn-param-noalias
antoyo Aug 29, 2023
62867dc
LTO implementation
antoyo May 12, 2023
4e41a8a
Merge pull request #278 from rust-lang/feature/lto_2023-05-12
antoyo Aug 31, 2023
03bcfff
Only apply NoAlias attribute if optimization is enabled
GuillaumeGomez Aug 31, 2023
b6ccb55
Merge pull request #324 from GuillaumeGomez/no-alias-optimization
antoyo Aug 31, 2023
8028885
Deduplicate inlined function debug info, but create a new lexical sco…
dpaoliello Sep 1, 2023
d214df2
Fix gimple guide
GuillaumeGomez Sep 6, 2023
7324ee2
Add missing compilation
GuillaumeGomez Sep 6, 2023
e39f3a2
Merge pull request #327 from GuillaumeGomez/fix-gimple-guide
antoyo Sep 6, 2023
b391653
Set the correct gimple output format
GuillaumeGomez Sep 7, 2023
3e61cc3
Add simpler alternative to generate gimple
GuillaumeGomez Sep 7, 2023
15fafe7
Merge pull request #328 from GuillaumeGomez/gimple-output
antoyo Sep 8, 2023
cd1644a
Fix const handling in ATT syntax
antoyo Sep 9, 2023
6611142
Merge pull request #330 from rust-lang/fix/asm-att-const
antoyo Sep 9, 2023
d7766ff
treat host effect params as erased generics in codegen
fee1-dead Sep 13, 2023
32df826
Handle static relocation model
antoyo Sep 14, 2023
067bfc0
Merge pull request #331 from rust-lang/feature/static-relocation
antoyo Sep 14, 2023
f6337e4
Don't always enabled CPU features
antoyo Sep 9, 2023
adc0b21
Enable one more feature
antoyo Sep 9, 2023
45c501c
Add note to readme
antoyo Sep 13, 2023
5bb0d63
Do not always enable avx2
antoyo Sep 14, 2023
f692124
Handle disabled features
antoyo Sep 14, 2023
20d4c39
Correctly handle target features
antoyo Sep 14, 2023
87daba2
Only add feature flags on functions
antoyo Sep 15, 2023
a9a2c68
Send -march to gcc
antoyo Sep 15, 2023
f096c19
Handle target-cpu=native
antoyo Sep 15, 2023
44b9c75
Merge pull request #329 from rust-lang/fix/enable-features
antoyo Sep 15, 2023
f3b82df
Add note to readme
antoyo Sep 15, 2023
22e13b4
clarify PassMode::Indirect as well
RalfJung Sep 8, 2023
cd519aa
fix gcc, cranelift build
RalfJung Sep 9, 2023
5ab4e2b
Implement llvm.x86.rdrand.64
antoyo Sep 18, 2023
6118ee4
Merge pull request #335 from rust-lang/feature/rdrand64
antoyo Sep 18, 2023
be3b1e3
Fix gep on pointers to non-number
antoyo Sep 20, 2023
e7d1dc3
Merge pull request #337 from rust-lang/fix/gep
antoyo Sep 20, 2023
38b9e26
Add a way to decouple the implementation and the declaration of a TyC…
oli-obk Sep 22, 2023
a7d8b8e
Add guide to add new attributes support in libgccjit
GuillaumeGomez Sep 22, 2023
8373b05
Have a single struct for queries and hook
oli-obk Sep 22, 2023
2e585e8
Merge pull request #343 from GuillaumeGomez/add-attribute-doc
antoyo Sep 22, 2023
ccf5799
Use cargo to build the build system binary
GuillaumeGomez Sep 25, 2023
6be1f36
Add help message
GuillaumeGomez Sep 25, 2023
71febd9
Merge pull request #344 from GuillaumeGomez/improvements
antoyo Sep 25, 2023
b1862af
implement major change tracking for the bootstrap configuration
onur-ozkan Oct 1, 2023
c7407ef
Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Sim…
bors Oct 2, 2023
7e8c85b
Reapply: Mark drop calls in landing pads cold instead of noinline
erikdesjardins Mar 10, 2022
91ab790
Auto merge of #102099 - InnovativeInventor:re-cold-land, r=nikic
bors Oct 2, 2023
eedf1b6
Migrate build.sh script to rust
GuillaumeGomez Sep 26, 2023
33e1daa
Improve code
GuillaumeGomez Oct 4, 2023
c6447be
Merge pull request #345 from GuillaumeGomez/build-sysroot
antoyo Oct 5, 2023
b3fecae
Fix 128-bit non-native integers comparison
antoyo Oct 7, 2023
b3c10d4
Fix 128-bit non-native integers negation
antoyo Oct 7, 2023
d484836
Merge pull request #349 from rust-lang/fix/128-bit-ints-operations
antoyo Oct 8, 2023
c567e59
Merge branch 'master' into sync_from_rust_2023_10_08
antoyo Oct 8, 2023
237be9e
Update to nightly-2023-10-08
antoyo Oct 8, 2023
bd7e5b9
Fix bitcast with different sizes
antoyo Oct 9, 2023
e7f7fb8
Fix tests
antoyo Oct 9, 2023
ad56374
Add missing panic_in_cleanup
antoyo Oct 9, 2023
3fe5358
Add missing comma in alloc_system
antoyo Oct 9, 2023
7083439
Fix UI tests
antoyo Oct 9, 2023
a00ea0b
Fix unchecked_sadd
antoyo Oct 9, 2023
a7532da
Fix unchecked_ssub, unchecked_smul, and unchecked_umul
antoyo Oct 9, 2023
11a0cce
Merge pull request #350 from rust-lang/sync_from_rust_2023_10_08
antoyo Oct 9, 2023
30290c8
Merge commit '11a0cceab966e5ff1058ddbcab5977e8a1d6d290' into subtree-…
antoyo Oct 9, 2023
2cbac9c
Fix checks
antoyo Oct 9, 2023
06c5ac4
Use IntoDynSyncSend
antoyo Oct 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply changes to fix python linting errors
tgross35 committed Jun 17, 2023
commit 42ecb50d56c8cbd6a3e1b1036e018bf347a9bc36
3 changes: 1 addition & 2 deletions tools/generate_intrinsics.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
import re
import sys
import subprocess
from os import walk


def run_command(command, cwd=None):
@@ -180,7 +179,7 @@ def update_intrinsics(llvm_path, llvmint, llvmint2):
intrinsics[arch].sort(key=lambda x: (x[0], x[2]))
out.write(' // {}\n'.format(arch))
for entry in intrinsics[arch]:
if entry[2] == True: # if it is a duplicate
if entry[2] is True: # if it is a duplicate
out.write(' // [DUPLICATE]: "{}" => "{}",\n'.format(entry[0], entry[1]))
elif "_round_mask" in entry[1]:
out.write(' // [INVALID CONVERSION]: "{}" => "{}",\n'.format(entry[0], entry[1]))