[PATCH] D143110: [mlgo] Make InteractiveModelRunner actually work with named pipes

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 14:04:27 PST 2023


mtrofin created this revision.
mtrofin added a reviewer: kazu.
Herald added a subscriber: hiraditya.
Herald added a project: All.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143110

Files:
  llvm/include/llvm/Analysis/InteractiveModelRunner.h
  llvm/lib/Analysis/InteractiveModelRunner.cpp
  llvm/unittests/Analysis/MLModelRunnerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143110.494070.patch
Type: text/x-patch
Size: 11253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230201/b77cc196/attachment.bin>


More information about the llvm-commits mailing list