Created
March 14, 2026 11:49
-
-
Save sueszli/90e5ba7e3bbd5e94636d922c5272dafc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eEuo pipefail | |
| TEST_FILE=tests/filecheck/mlir-conversion/with-mlir/backend/llvm/convert_op.mlir | |
| mkdir -p "$(dirname "$TEST_FILE")" | |
| cat > "$TEST_FILE" <<'EOF' | |
| // RUN: mlir-translate --mlir-to-llvmir ../../../../backend/llvm/convert_op.mlir | filecheck ../../../../backend/llvm/convert_op.mlir | |
| EOF | |
| uv run lit -v "$TEST_FILE" || true | |
| rm -f "$TEST_FILE" | |
| rmdir -p "$(dirname "$TEST_FILE")" 2>/dev/null || true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment