[all-commits] [llvm/llvm-project] 83051c: [mlgo] Make InteractiveModelRunner actually work w...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Feb 1 15:25:06 PST 2023


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

  Changed paths:
    M llvm/include/llvm/Analysis/InteractiveModelRunner.h
    M llvm/lib/Analysis/InteractiveModelRunner.cpp
    M llvm/unittests/Analysis/MLModelRunnerTest.cpp

  Log Message:
  -----------
  [mlgo] Make InteractiveModelRunner actually work with named pipes

Turns out raw_fd_stream doesn't work with named pipes, so we just need
to lower the abstraction. Updated the unittest accordingly. Because
mkfifo's path argument requires a certain naming pattern on Windows
(IIUC), restricted the test to Linux only.

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




More information about the All-commits mailing list