[all-commits] [llvm/llvm-project] 1d1900: [mlir][target] RAII wrap moduleToObject timer to e...

Zichen Lu via All-commits all-commits at lists.llvm.org
Fri Apr 18 03:33:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d190065d92a7cc9fbe322edbfa233c2318c8839
      https://github.com/llvm/llvm-project/commit/1d190065d92a7cc9fbe322edbfa233c2318c8839
  Author: Zichen Lu <mikaovo2000 at gmail.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M mlir/lib/Target/LLVM/NVVM/Target.cpp

  Log Message:
  -----------
  [mlir][target] RAII wrap moduleToObject timer to ensure call `clear` function (#136142)

As title, we need to call `Timer::clear` to avoid extra log like this:
```
===-------------------------------------------------------------------------===
                           ...
===-------------------------------------------------------------------------===
  Total Execution Time: 0.0000 seconds (0.0000 wall clock)

   ---Wall Time---  --- Name ---
        -----       ....
        -----       Total
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list