[all-commits] [llvm/llvm-project] 954cf9: [mlgo][nfc] Refactor the log_reader.py utility

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Feb 2 14:43:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 954cf9a7d485b729198c0f6aff1580b83f273397
      https://github.com/llvm/llvm-project/commit/954cf9a7d485b729198c0f6aff1580b83f273397
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M llvm/lib/Analysis/models/log_reader.py

  Log Message:
  -----------
  [mlgo][nfc] Refactor the log_reader.py utility

Small refactoring in preparation for tests for the interactive mode.
This allows reading the header, and performing observations, as explicit
steps. The latter is in particular necessary because the exit condition
for the interactive host will be that the child process (the compiler)
exited.




More information about the All-commits mailing list