mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
simple pass to pick up paths redundant with those from cyclic's succs
This commit is contained in:
@@ -788,10 +788,8 @@ u32 getEffectiveAccelStates(const build_info &args,
|
||||
if (!is_subset_of(h[v].reports, h[a].reports)) {
|
||||
continue;
|
||||
}
|
||||
flat_set<NFAVertex> v_succ;
|
||||
flat_set<NFAVertex> a_succ;
|
||||
succ(h, v, &v_succ);
|
||||
succ(h, a, &a_succ);
|
||||
auto v_succ = succs(v, h);
|
||||
auto a_succ = succs(a, h);
|
||||
if (is_subset_of(v_succ, a_succ)) {
|
||||
dominated_by[accel_id] |= 1U << accel_id_map[a];
|
||||
}
|
||||
|
Reference in New Issue
Block a user