rust/src
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
..
bootstrap mark rust-analyzer as a host-only tool 2022-10-19 14:33:17 +02:00
ci Update browser-ui-test version to 0.12.7 2022-10-19 11:08:13 +02:00
doc Stabilize asm_sym 2022-10-17 22:38:37 +01:00
etc Rollup merge of #102092 - kxxt:patch-1, r=joshtriplett 2022-10-14 23:43:42 +02:00
librustdoc Rollup merge of #103257 - notriddle:notriddle/setting-line, r=GuillaumeGomez 2022-10-19 21:38:42 +02:00
llvm-project@9567f08afc Update LLVM submodule 2022-09-30 16:39:32 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Don't use usub.with.overflow intrinsic 2022-10-20 12:47:17 +02:00
tools Make miri read_dir test a little more robust 2022-10-19 11:48:56 -07:00
README.md Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00
stage0.json bump stage0 2022-09-26 10:13:46 +02:00
version bump version to 1.66.0 2022-09-16 10:51:09 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like cargo, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.