rust/compiler
Nikita Popov 783301298f Don't use usub.with.overflow intrinsic
The canonical form of a usub.with.overflow check in LLVM are
separate sub + icmp instructions, rather than a usub.with.overflow
intrinsic. Using usub.with.overflow will generally result in worse
optimization potential.

The backend will attempt to form usub.with.overflow when it comes
to actual instruction selection. This is not fully reliable, but
I believe this is a better tradeoff than using the intrinsic in
IR.

Fixes #103285.
2022-10-20 12:47:17 +02:00
..
rustc Don't rerun the build script for the compiler each time on linux 2022-07-10 23:57:25 -05:00
rustc_apfloat Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_arena Make use of [wrapping_]byte_{add,sub} 2022-08-23 19:32:37 +04:00
rustc_ast Fix TyKind::is_simple_path. 2022-10-18 15:51:23 +11:00
rustc_ast_lowering Do anonymous lifetimes remapping correctly for nested rpits 2022-10-19 16:49:39 -03:00
rustc_ast_passes errors: AddToDiagnostic::add_to_diagnostic_with 2022-10-10 14:20:16 +01:00
rustc_ast_pretty Rename AssocItemKind::TyAlias to AssocItemKind::Type 2022-10-10 02:31:37 +00:00
rustc_attr Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_borrowck Auto merge of #103220 - compiler-errors:deny-infers, r=lcnr 2022-10-20 05:56:56 +00:00
rustc_builtin_macros Mark derived StructuralEq as automatically derived. 2022-10-15 15:16:32 +00:00
rustc_codegen_cranelift more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_codegen_gcc Stabilize asm_sym 2022-10-17 22:38:37 +01:00
rustc_codegen_llvm Don't use usub.with.overflow intrinsic 2022-10-20 12:47:17 +02:00
rustc_codegen_ssa Auto merge of #102418 - citrus-it:illumos-strip-debug, r=nagisa 2022-10-18 16:32:41 +00:00
rustc_const_eval Surround type with backticks 2022-10-15 15:28:29 +05:30
rustc_data_structures Auto merge of #103214 - Nilstrieb:set-theory, r=petrochenkov 2022-10-19 13:53:06 +00:00
rustc_driver Remove RunCompiler::emitter. 2022-10-18 08:48:58 +11:00
rustc_error_codes fix small word dupe typos 2022-10-13 00:53:46 +08:00
rustc_error_messages Rollup merge of #102454 - chenyukang:fix-102396-missing-parentheses, r=lcnr 2022-10-17 17:15:49 +02:00
rustc_errors UPDATE - Move IntoDiagnosticArg implementations to diagnostic_impls file 2022-10-12 16:55:28 -04:00
rustc_expand more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_feature Stabilize asm_sym 2022-10-17 22:38:37 +01:00
rustc_fs_util Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_graphviz Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir Use tidy-alphabetical in the compiler 2022-10-12 17:49:10 +05:30
rustc_hir_analysis Auto merge of #102417 - oli-obk:opaque_lifetimes2, r=jackh726 2022-10-20 00:22:17 +00:00
rustc_hir_pretty pretty: fix to print some lifetimes on HIR pretty-print 2022-10-15 23:34:21 +09:00
rustc_incremental Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
rustc_index Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_infer Make ClosureOutlivesRequirement not rely on an unresolved type 2022-10-19 17:10:59 +00:00
rustc_interface Replace a spawn_unchecked with spawn_scoped. 2022-10-19 08:09:40 +11:00
rustc_lexer Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_lint Rollup merge of #102953 - WaffleLapkin:better_docs_for_decorate_param, r=RalfJung 2022-10-16 17:51:31 +02:00
rustc_lint_defs more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_llvm Avoid LLVM-deprecated Optional::hasValue 2022-09-26 16:51:18 -07:00
rustc_log Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_macros Get rid of rustc_query_description! 2022-10-14 22:35:56 +02:00
rustc_metadata Add suggestion to the "missing native library" error 2022-10-13 07:35:36 -04:00
rustc_middle Auto merge of #103220 - compiler-errors:deny-infers, r=lcnr 2022-10-20 05:56:56 +00:00
rustc_mir_build Auto merge of #101832 - compiler-errors:dyn-star-plus, r=eholk 2022-10-15 07:36:38 +00:00
rustc_mir_dataflow Rollup merge of #102675 - ouz-a:mir-technical-debt, r=oli-obk 2022-10-08 14:38:18 +02:00
rustc_mir_transform Rollup merge of #102778 - nbdd0121:mir, r=tmiasko 2022-10-08 14:38:19 +02:00
rustc_monomorphize mir constants: type traversing bye bye 2022-10-17 10:54:01 +02:00
rustc_parse more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_parse_format Detect and reject out-of-range integers in format string literals 2022-10-01 01:05:01 +02:00
rustc_passes Allow #[unstable] impl for fn() -> UnstableType. 2022-10-19 13:34:18 +02:00
rustc_plugin_impl Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_privacy Auto merge of #102026 - Bryanskiy:resolve_update, r=petrochenkov 2022-10-16 20:34:38 +00:00
rustc_query_impl Remove the describe method from the QueryDescription trait 2022-10-14 22:35:56 +02:00
rustc_query_system Remove the describe method from the QueryDescription trait 2022-10-14 22:35:56 +02:00
rustc_resolve Rollup merge of #103216 - cjgillot:issue-103210, r=jackh726 2022-10-19 14:05:54 +05:30
rustc_save_analysis ImplItemKind::TyAlias => ImplItemKind::Type 2022-10-09 07:09:57 +00:00
rustc_serialize remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_session Remove RunCompiler::emitter. 2022-10-18 08:48:58 +11:00
rustc_smir Only keep one version of ImplicitSelfKind. 2022-09-13 19:18:23 +02:00
rustc_span Make diagnostic for unsatisfied Termination bounds more precise 2022-10-17 12:08:46 +02:00
rustc_symbol_mangling more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_target Split is_stable from rustc_target::spec::abi::is_enabled. 2022-10-19 12:41:11 +02:00
rustc_trait_selection Don't call own_existential_vtable_entries on unresolved trait ref 2022-10-19 17:11:40 +00:00
rustc_traits rm try_normalize_mir_const_after_erasing_regions 2022-10-17 10:54:03 +02:00
rustc_transmute Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
rustc_ty_utils more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_type_ir Deny const variables as well 2022-10-19 17:11:40 +00:00