Skip to content

Commit 118cfbe

Browse files
committed
Run filecheck on dest-prop/dead_stores_better.rs
1 parent 433cace commit 118cfbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/dest-prop/dead_stores_better.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
// This is a copy of the `dead_stores_79191` test, except that we turn on DSE. This demonstrates
43
// that that pass enables this one to do more optimizations.
@@ -12,6 +11,8 @@ fn id<T>(x: T) -> T {
1211

1312
// EMIT_MIR dead_stores_better.f.DestinationPropagation.after.mir
1413
pub fn f(mut a: usize) -> usize {
14+
// CHECK-LABEL: fn f
15+
// CHECK: {{_.*}} = {{_.*}}
1516
let b = a;
1617
a = 5;
1718
a = b;

0 commit comments

Comments
 (0)