[mlir][Pass] Fix parsePassPipeline error stream
authorrkayaith <rkayaith@gmail.com>
Fri, 21 Oct 2022 02:46:04 +0000 (22:46 -0400)
committerrkayaith <rkayaith@gmail.com>
Fri, 21 Oct 2022 18:26:21 +0000 (14:26 -0400)
commit037804ddb3960c269f50e04dfbb67f4b7bfe7ba2
treef0e984655183bffce977ba2989c4f8aedb073d90
parentde1e911f02a0b4369287c7d056efc94c3f5dc0cd
[mlir][Pass] Fix parsePassPipeline error stream

The error stream isn't being propagated properly, causing some output to
be sent to stderr even when a different stream is given.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D136414
mlir/lib/Pass/PassRegistry.cpp