Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remake tool for inserting FileCheck directives in HLO optimization-pa…
…ss tests. The tool previously required the user to perform most of the steps manually, only automating the replacement of hard-coded symbols with regex captures. It now automatically runs an optimizer on the test file, writes FileCheck directives based on the optimized HLO, replaces symbols with regex captures, and inserts the FileCheck directives above their respective test cases. The step of replacing explicit symbols with regex captures has also been improved to support capturing function names and to only add disambiguation suffixes when necessary. PiperOrigin-RevId: 726586730
- Loading branch information