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

Add helper script to extract reproducing run command from a lit file #538

Merged
merged 1 commit into from Mar 26, 2024

Conversation

j2kun
Copy link
Collaborator

@j2kun j2kun commented Mar 18, 2024

example:

python scripts/lit_to_bazel.py tests/simd/box_blur_64x64.mlir

Outputs (on my machine):

bazel run --noallow_analysis_cache_discard //tools:heir-opt -- --secretize=entry-function=box_blur --wrap-generic --canonicalize --cse --full-loop-unroll --insert-rotate --cse --canonicalize --collapse-insertion-chains --canonicalize --cse /home/j2kun/fhe/heir/tests/simd/box_blur_64x64.mlir

@j2kun j2kun force-pushed the test-to-run branch 2 times, most recently from be847a1 to 2e5a98b Compare March 26, 2024 14:39
@j2kun j2kun added the pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing label Mar 26, 2024
Also reorganize templates into scripts/ base directory
@copybara-service copybara-service bot merged commit 32353fe into google:main Mar 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants