Skip to content

Allow setting aggressive-conditions per rule #862

@yannickl96

Description

@yannickl96

Hi,

currently the compiler allows to set -aggressive-conditions on a per-module basis by setting the (* options="-aggressive-conditions" *) attribute above the module. Would it be possible to extend the mechanism to a per-rule basis?
E.g., I may have one rule where the conservative CAN_FIRE computation (just lift every implicit guard into the rule condition) may be sufficient and -aggressive-conditions would create an overly complicated schedule and another one where -aggressive-conditions generates a better schedule, allowing a rule to fire more frequently/keep the code cleaner/etc. For that scenario, having the possibility to tell the compiler to compute the firing condition differently for just a specific rule may be quite useful.
Or did I miss an existing option for that behavior somewhere?

Best,
Yannick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions