Commit 21552828 authored by qinsoon's avatar qinsoon

it is possible that a variable A is a merge of a constant (omitted) and itself.

We do not need to replace for A.
parent 2a66224c
Pipeline #1402 failed with stages
in 23 minutes and 16 seconds
...@@ -118,7 +118,6 @@ impl CopyPropagation { ...@@ -118,7 +118,6 @@ impl CopyPropagation {
} }
if same_value { if same_value {
assert!(y.is_some());
y y
} else { } else {
None None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment