summary refs log tree commit diff
path: root/tests/incremental/hashes
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-23 19:48:39 +0000
committerbors <bors@rust-lang.org>2023-08-23 19:48:39 +0000
commit5680fa18feaa87f3ff04063800aec256c3d4b4be (patch)
treef0daae2bd1d2aea53a44c261bd4f3e359a436567 /tests/incremental/hashes
parentf155f8c3d9b6f63f1752dc205665869c475d3c1f (diff)
parent298ec5258f8e5f1211734bcb43c89aa184d3ca1b (diff)
downloadrust-1.72.0.tar.gz
rust-1.72.0.zip
Auto merge of #115140 - wesleywiser:turn_off_mir_sroa, r=cuviper 1.72.0
Disable MIR SROA optimization by default

Turn off the MIR SROA optimization by default to prevent incorrect debuginfo generation and rustc ICEs caused by invalid LLVM IR being created.

Related to #115113

r? `@cuviper`
cc `@saethlin`
Diffstat (limited to 'tests/incremental/hashes')
-rw-r--r--tests/incremental/hashes/match_expressions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/incremental/hashes/match_expressions.rs b/tests/incremental/hashes/match_expressions.rs
index ecb19480d65..4d1b3b68330 100644
--- a/tests/incremental/hashes/match_expressions.rs
+++ b/tests/incremental/hashes/match_expressions.rs
@@ -227,7 +227,7 @@ pub fn change_mutability_of_binding_in_pattern(x: u32) -> u32 {
 
 // Ignore optimized_mir in cfail2, the only change to optimized MIR is a span.
 #[cfg(not(any(cfail1,cfail4)))]
-#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,typeck")]
+#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
 #[rustc_clean(cfg="cfail3")]
 #[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
 #[rustc_clean(cfg="cfail6")]