Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BYOC] Allow custom codegens to register their own constant updater #6697

Merged
merged 6 commits into from
Oct 30, 2020

Commits on Oct 29, 2020

  1. [BYOC] Allow custom codegens to register their own constant updater

    Currently, all codegens using BYOC must make use of the default
    ConstantUpdater pass. However, certain codegens, like Ethos-N,
    don't want to store any constants in metadata module. This
    provides an interface (via a global) to register a custom
    constant updating method and assigns a 'null' updater for the
    Ethos-N codegen.
    
    Change-Id: Ibd71d3091f992362eeede5d894eedb373b2dbc8f
    mbaret committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    104793d View commit details
    Browse the repository at this point in the history
  2. Fix to use symbol in const name

    Change-Id: I0ade81af9002d413c5b20a50488018e8cd8d8bad
    mbaret committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    d35e668 View commit details
    Browse the repository at this point in the history
  3. Remove ;

    Change-Id: I61967bc4997efb87f87b49dad7e0a660c536ef35
    mbaret committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    3878667 View commit details
    Browse the repository at this point in the history
  4. Remove ccompiler constant updater

    Change-Id: Iea9ee0f689683512fa114afeadeccb7fc9048e4f
    mbaret committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    f5924b1 View commit details
    Browse the repository at this point in the history
  5. Unregister updater after test

    Change-Id: I8009940bb2ac949f2c3f0d72c943a5b74afd6954
    mbaret committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    a787166 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Create UpdateConstants utility function

    Change-Id: I83c8c6f92cfe3be3a7e811e98a4eec17590186ff
    mbaret committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    0c43201 View commit details
    Browse the repository at this point in the history