diff options
author | Justin Lebar <jlebar@google.com> | 2016-02-19 00:18:46 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-02-19 00:18:46 +0000 |
commit | c75d566f566c10cf417c81051c152e77b2515eee (patch) | |
tree | 38322b8fdca9f4130913b21c677a63348e199696 /llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll | |
parent | 54f82bfb802093d2f3790db8320a4712c657794e (diff) | |
download | bcm5719-llvm-c75d566f566c10cf417c81051c152e77b2515eee.tar.gz bcm5719-llvm-c75d566f566c10cf417c81051c152e77b2515eee.zip |
When printing MIR, output to errs() rather than outs().
Summary:
Without this, this command
$ llvm-run llc -stop-after machine-cp -o - <( echo '' )
outputs an error, because we close stdout twice -- once when closing the
file opened for "-o", and again when closing outs().
Also clarify in the outs() definition that you can't ever call it if you
want to open your own raw_fd_ostream on stdout.
Reviewers: jroelofs, tstellarAMD
Subscribers: jholewinski, qcolombet, dsanders, llvm-commits
Differential Revision: http://reviews.llvm.org/D17422
llvm-svn: 261286
Diffstat (limited to 'llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll')
-rw-r--r-- | llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll b/llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll index 4712012b0d2..83d56c1da21 100644 --- a/llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll +++ b/llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll @@ -1,5 +1,5 @@ -; RUN: llc -o /dev/null -verify-machineinstrs -mtriple=aarch64-apple-darwin -stop-after machine-sink %s | FileCheck %s --check-prefix=ISEL -; RUN: llc -o /dev/null -verify-machineinstrs -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -stop-after machine-sink %s | FileCheck %s --check-prefix=FAST-ISEL +; RUN: llc -o /dev/null -verify-machineinstrs -mtriple=aarch64-apple-darwin -stop-after machine-sink %s 2>&1 | FileCheck %s --check-prefix=ISEL +; RUN: llc -o /dev/null -verify-machineinstrs -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -stop-after machine-sink %s 2>&1 | FileCheck %s --check-prefix=FAST-ISEL define void @caller_meta_leaf() { entry: |