aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorAlexis Engelke <engelke@in.tum.de>2024-07-03 11:15:02 +0200
committerGitHub <noreply@github.com>2024-07-03 11:15:02 +0200
commitd8c07342c021f31f08dee7d15e17f7eca0d1aae0 (patch)
tree2d1bfd5cf20823924153a98f39d584317a6101ad /llvm/lib/CodeGen/PHIElimination.cpp
parent4d2ae88d1617a910ec3a1436ce53579523ac2f97 (diff)
downloadllvm-d8c07342c021f31f08dee7d15e17f7eca0d1aae0.zip
llvm-d8c07342c021f31f08dee7d15e17f7eca0d1aae0.tar.gz
llvm-d8c07342c021f31f08dee7d15e17f7eca0d1aae0.tar.bz2
[Support] Move raw_ostream::tie to raw_fd_ostream (#97396)
Originally, tie was introduced by D81156 to flush stdout before writing to stderr. 030897523 reverted this due to race conditions. Nonetheless, it does cost performance, causing an extra check in the "cold" path, which is actually the hot path for raw_svector_ostream. Given that this feature is only used for errs(), move it to raw_fd_ostream so that it no longer affects performance of other stream classes.
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions