diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2021-03-08 01:59:10 +0200 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2021-03-10 12:21:43 +0200 |
| commit | 0517acd54353869b2fbfc50af61ea7bd1fd309e0 (patch) | |
| tree | a3670ca840e1c6def8f4be36a7419f2682488863 /compiler/rustc_interface | |
| parent | 861872bc453bde79b83ff99d443d035225f10e87 (diff) | |
| download | rust-0517acd54353869b2fbfc50af61ea7bd1fd309e0.tar.gz rust-0517acd54353869b2fbfc50af61ea7bd1fd309e0.zip | |
Remove the -Zinsert-sideeffect
This removes all of the code we had in place to work-around LLVM's
handling of forward progress. From this removal excluded is a workaround
where we'd insert a `sideeffect` into clearly infinite loops such as
`loop {}`. This code remains conditionally effective when the LLVM
version is earlier than 12.0, which fixed the forward progress related
miscompilations at their root.
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 28646973620..93ba2e6a4f1 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -560,7 +560,6 @@ fn test_debugging_options_tracking_hash() { tracked!(inline_mir, Some(true)); tracked!(inline_mir_threshold, Some(123)); tracked!(inline_mir_hint_threshold, Some(123)); - tracked!(insert_sideeffect, true); tracked!(instrument_coverage, true); tracked!(instrument_mcount, true); tracked!(link_only, true); |
