-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When dumping intermediates, dump how to reproduce the
.optimized.ll
(…
…#19633) This is similar to the upstream `--print-pipeline-passes`, which we don't implement but is still there as a command-line flag. In our case, I think it's more useful to integrate it into our existing dump-intermediates feature. This would need to be done for each target; this PR only does it for ROCMTarget for now. Sample output at the start of the dumped `.optimized.ll` file: ``` ; To reproduce the .optimized.ll from the .linked.ll, run: ; opt --passes=' [...] elided 4 kilobytes of text [...] ' ``` Signed-off-by: Benoit Jacob <jacob.benoit.1@gmail.com>
- Loading branch information
Showing
1 changed file
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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