about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-10 14:03:00 +0000
committerbors <bors@rust-lang.org>2021-03-10 14:03:00 +0000
commit5fe790e3c40710ecb95ddaadb98b59a3bb4f8326 (patch)
tree85393bce32f8f4f6ea0478ac44e0e8fa02ccabd4 /compiler/rustc_interface/src
parenta4d9624242df6bfe6c0a298867dd2bd527263424 (diff)
parent0517acd54353869b2fbfc50af61ea7bd1fd309e0 (diff)
downloadrust-5fe790e3c40710ecb95ddaadb98b59a3bb4f8326.tar.gz
rust-5fe790e3c40710ecb95ddaadb98b59a3bb4f8326.zip
Auto merge of #82884 - nagisa:nagisa/remove-most-of-sideeffect-inserts, r=nikic
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/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
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);