Commit 4398a22
[mlir][target] Adjust the start and end position of the moduleToObject timer (llvm#132693)
We hope that the timer can be cleared normally when the target-format is
`offload`, so as to avoid output like this:
```
===-------------------------------------------------------------------------===
Miscellaneous Ungrouped Timers
===-------------------------------------------------------------------------===
---Wall Time--- --- Name ---
----- Timer for perf llvm-ir -> isa and isa -> binary.
...
```
Co-authored-by: Guray Ozen <[email protected]>1 parent e2e776c commit 4398a22
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | 675 | | |
677 | 676 | | |
678 | 677 | | |
| |||
699 | 698 | | |
700 | 699 | | |
701 | 700 | | |
| 701 | + | |
702 | 702 | | |
703 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
704 | 707 | | |
705 | 708 | | |
706 | 709 | | |
707 | 710 | | |
708 | 711 | | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
| |||
0 commit comments