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

Slightly tweak generated file checks #1330

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Conversation

silvasean
Copy link
Contributor

The new logic has the following benefits:

  1. It does not clobber the working tree state. We expect testing to not
    change the work tree.
  2. It correctly handles the case where a user has changes to the
    generated files, but hasn't checked them in yet (this happens
    frequently when adding new ops).

The new logic has the following benefits:
1. It does not clobber the working tree state. We expect testing to not
   change the work tree.
2. It correctly handles the case where a user has changes to the
   generated files, but hasn't checked them in yet (this happens
   frequently when adding new ops).
Copy link
Collaborator

@ashay ashay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@silvasean silvasean merged commit a924de3 into llvm:main Sep 1, 2022
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
* Call MLIR CSE pass to remove common sub-expression

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Add a lit test of CSE for onnx ops

Signed-off-by: Tung D. Le <tung@jp.ibm.com>
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
…" (llvm#1354)

* Revert "Call MLIR CSE pass to remove common sub-expressions (llvm#1330)"

This reverts commit 2ebd9eb.

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* And an option to turn on/off CSE. Turn off by default

Signed-off-by: Tung D. Le <tung@jp.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants