================
@@ -143,6 +144,14 @@ class CompilerInvocation : public CompilerInvocationBase {
       },
   };
 
+  /// Whether to time the invocation. Set when -ftime-report or -ftime-report=
+  /// is enabled.
+  bool enableTimers;
+
+  /// Whether to report the timing of each run of an LLVM pass. Set when
+  /// -ftime-report=per-pass-run is enabled.
+  bool timeLLVMPassesPerRun;
----------------
tblah wrote:

I wonder if it would be better not to support `-ftime-report=` because we can't 
(currently) provide equivalent functionality for the MLIR passes, and these 
will all be dead untested code at the moment.

https://github.com/llvm/llvm-project/pull/107270
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to