Skip to content

Commit 0d6fa54

Browse files
committed
address review: dead_stores_better.rs should use DeadStoreElimination-initial
Signed-off-by: Shunpoco <tkngsnsk313320@gmail.com>
1 parent 30a656a commit 0d6fa54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// that that pass enables this one to do more optimizations.
44

55
//@ test-mir-pass: CopyProp
6-
//@ compile-flags: -Zmir-enable-passes=+DeadStoreElimination
6+
//@ compile-flags: -Zmir-enable-passes=+DeadStoreElimination-initial
77

88
fn id<T>(x: T) -> T {
99
x

0 commit comments

Comments
 (0)