diff options
| author | bors <bors@rust-lang.org> | 2023-06-20 02:58:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-20 02:58:53 +0000 |
| commit | d7dcadc5976e0542e453b8dc5a7519212231987b (patch) | |
| tree | e20c91b4cbec71008ff99ccfa0406b04b5b431b3 /compiler/rustc_codegen_gcc | |
| parent | 14803bda0efc94b6c9a90048d868104c1ddf0685 (diff) | |
| parent | 0ca325231069091a5625d245a6d043058f11b17b (diff) | |
| download | rust-d7dcadc5976e0542e453b8dc5a7519212231987b.tar.gz rust-d7dcadc5976e0542e453b8dc5a7519212231987b.zip | |
Auto merge of #112817 - compiler-errors:rollup-0eqomra, r=compiler-errors
Rollup of 8 pull requests Successful merges: - #112232 (Better error for non const `PartialEq` call generated by `match`) - #112499 (Fix python linting errors) - #112596 (Suggest correct signature on missing fn returning RPITIT/AFIT) - #112606 (Alter `Display` for `Ipv6Addr` for IPv4-compatible addresses) - #112781 (Don't consider TAIT normalizable to hidden ty if it would result in impossible item bounds) - #112787 (Add gha problem matcher) - #112799 (Clean up "doc(hidden)" check) - #112803 (Format the examples directory of cg_clif) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py b/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py index 6188924b0d5..83abe145e64 100644 --- a/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py +++ b/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py @@ -3,7 +3,6 @@ import os 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])) |
