We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 433cace commit 118cfbeCopy full SHA for 118cfbe
tests/mir-opt/dest-prop/dead_stores_better.rs
@@ -1,4 +1,3 @@
1
-// skip-filecheck
2
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
3
// This is a copy of the `dead_stores_79191` test, except that we turn on DSE. This demonstrates
4
// that that pass enables this one to do more optimizations.
@@ -12,6 +11,8 @@ fn id<T>(x: T) -> T {
12
11
13
// EMIT_MIR dead_stores_better.f.DestinationPropagation.after.mir
14
pub fn f(mut a: usize) -> usize {
+ // CHECK-LABEL: fn f
15
+ // CHECK: {{_.*}} = {{_.*}}
16
let b = a;
17
a = 5;
18
a = b;
0 commit comments