Rollup merge of #127101 - matthiaskrgr:thonk, r=compiler-errors
remove redundant match statement from dataflow const prop
This commit is contained in:
commit
c1d7ff55b5
@ -181,11 +181,6 @@ impl<'tcx> ValueAnalysis<'tcx> for ConstAnalysis<'_, 'tcx> {
|
||||
state.insert_value_idx(value_target, val, self.map());
|
||||
}
|
||||
if let Some(overflow_target) = overflow_target {
|
||||
let overflow = match overflow {
|
||||
FlatSet::Top => FlatSet::Top,
|
||||
FlatSet::Elem(overflow) => FlatSet::Elem(overflow),
|
||||
FlatSet::Bottom => FlatSet::Bottom,
|
||||
};
|
||||
// We have flooded `target` earlier.
|
||||
state.insert_value_idx(overflow_target, overflow, self.map());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user