diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-11-23 21:47:08 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-11-23 22:05:45 -0500 |
| commit | b81e788d16d9656b9fd8905de9a3f382ccdbb56c (patch) | |
| tree | e71c4f790e97cb73c3f37c0206f951068d016012 /tests/ui/recursion/recursive-static-definition.stderr | |
| parent | a4a5c976fee30bdd350aa0df10b14cb87ade48fe (diff) | |
| download | rust-b81e788d16d9656b9fd8905de9a3f382ccdbb56c.tar.gz rust-b81e788d16d9656b9fd8905de9a3f382ccdbb56c.zip | |
Indicate that multiplication in Layout::array cannot overflow
This allows LLVM to optimize comparisons to zero before & after the multiplication into one, saving on code size and eliminating an (always true) branch from most Vec allocations.
Diffstat (limited to 'tests/ui/recursion/recursive-static-definition.stderr')
0 files changed, 0 insertions, 0 deletions
