Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

How to understand "statically unpredictable data accesses or control flow"? #19

Closed

Description

@QiJune

I am confused with this sentence.

The presence of statically unpredictable data accesses or control flow does not preclude representation in MLIR, but only limits to a certain extent the ability to reason about and apply transformations using the polyhedral abstraction

Locates in Rationale doc.

Does the unpredictable means that the value of some symbols are determined at runtime, so which branch to go is unpredictable?

Could you please give some detail examples? Thanks!

Activity

  1. albertcohen commented on Apr 18, 2019

    @albertcohen

    Hi,
    Unpredictable means data-dependent indexing or (loop/conditional) control flow. E.g. subscripting a memref with the return value of a function, or a value from another memref, will break the precise analyses of memref dependences, footprints, etc. Or a loop bound defined inductively from other values rather than a static affine expression (an attribute). The affine dialect typically enforces stronger restrictions on data access and control flow, but there are no such restrictions in general MLIR.
    Thanks for your remark, I plan to improve the rationale doc to clarify accordingly.

  2. QiJune commented on Apr 23, 2019

    @QiJune
    Author

    Thanks for the interpretation, It helps a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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