Martin Nordholts
5ad2f434dc
rustc_codegen_llvm: Require opt-level >= 1 for index-based loop
...
To make debugger stepping intuitive with `-Copt-level=0`. See the
adjusted `basic-stepping.rs` test.
This is kind of a revert of bd0aae92dc , except we don't revert it,
we just make it conditional on `opt-level`. That commit regressed
`basic-stepping.rs`, but it was not noticed since that test did not
exist back then. I have retroactively bisected to find that out.
It seems messy to sprinkle if-cases inside of the
`write_operand_repeatedly()` so make the whole function conditional.
The test that bd0aae92dc added in
`tests/codegen/issues/issue-111603.rs` already use `-Copt-level=3`, so
we don't need to adjust the compiler flags for it to keep passing.
2025-11-13 06:29:55 +01:00
..
2025-08-01 20:04:59 +00:00
2025-10-02 14:55:51 +08:00
2025-10-13 15:20:49 +02:00
2025-11-13 06:29:55 +01:00
2025-10-13 15:20:49 +02:00
2025-10-14 09:21:23 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-01-13 09:38:04 +01:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2025-10-13 15:20:49 +02:00
2024-04-25 22:14:47 +03:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-04-10 09:56:37 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-04-17 18:52:57 +08:00
2025-10-13 15:20:49 +02:00
2024-02-22 16:04:04 +00:00
2024-12-04 23:03:44 +01:00
2024-12-04 23:03:44 +01:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-07-09 03:47:50 +01:00
2024-02-22 16:04:04 +00:00
2025-01-13 09:38:04 +01:00
2025-10-28 06:21:17 +01:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-08-18 16:58:26 -04:00
2025-08-01 20:04:59 +00:00
2024-08-18 16:58:26 -04:00
2024-08-18 16:58:26 -04:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-08-18 16:58:26 -04:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-27 10:26:57 +00:00
2024-02-22 16:04:04 +00:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-05-28 15:14:34 +01:00
2024-02-22 16:04:04 +00:00
2024-08-18 16:58:26 -04:00
2025-10-13 15:20:49 +02:00
2025-05-22 14:06:24 -07:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-02-22 16:04:04 +00:00
2025-01-02 15:21:41 +03:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-11-05 11:42:54 -07:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-03-29 18:02:26 -06:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-02-22 16:04:04 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-11-17 00:42:30 +08:00
2025-10-13 15:20:49 +02:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-06-16 23:04:33 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-02-22 16:04:04 +00:00
2025-01-02 15:21:41 +03:00
2025-01-02 15:21:41 +03:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-08-18 16:58:26 -04:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2024-08-16 21:14:45 -04:00
2025-01-14 13:37:25 +01:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-08-01 20:04:59 +00:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00
2025-10-13 15:20:49 +02:00