1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/Generic/print-after.ll
Justin Bogner 56a8b49ffd CommandLine: Exit successfully for -version and -help
Tools that use the CommandLine library currently exit with an error
when invoked with -version or -help. This is unusual and non-standard,
so we'll fix them to exit successfully instead.

I don't expect that anyone relies on the current behaviour, so this
should be a fairly safe change.

llvm-svn: 202530
2014-02-28 19:08:01 +00:00

7 lines
161 B
LLVM

; RUN: llc --help-hidden 2>&1 | FileCheck %s
; CHECK: -print-after
; CHECK-NOT: -print-after-all
; CHECK: =simple-register-coalescing
; CHECK: -print-after-all