HomePhabricator

[mlir] Fix various issues in TimerImpl.

Authored by rdzhabarov on Wed, Jul 21, 5:06 PM.

Description

[mlir] Fix various issues in TimerImpl.

More specifically:

  1. Use variable after move.
  2. steady_clock needs to be used for measuring time intervals, but not the system_clock.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D106513

Details

Committed
rdzhabarovWed, Jul 21, 8:44 PM
Reviewer
mehdi_amini
Differential Revision
D106513: [mlir] Fix various issues in TimerImpl.
Parents
rG795e726f5f15: [MLIR] Fix affine.for empty loop body folder
Branches
Unknown
Tags
Unknown