forked from OSchip/llvm-project
[NewPM][PassInstrumentation] Fix test added in r369024.
llvm-lto2 doesn't treat "-" as stdout, so the test added in r369024 creates a file named "-.0". This patch makes the test look more like other tests that use llvm-lto2. llvm-svn: 369066
This commit is contained in:
parent
77dc05b945
commit
27954c3644
|
@ -1,6 +1,6 @@
|
|||
; RUN: llvm-as %s -o %t.bc
|
||||
; RUN: llvm-lto2 run -r=%t.bc,foo,pxl -use-new-pm --print-before-all %t.bc -o - 2>&1 | FileCheck %s --check-prefix=CHECK-BEFORE
|
||||
; RUN: llvm-lto2 run -r=%t.bc,foo,pxl -use-new-pm --print-after-all %t.bc -o - 2>&1 | FileCheck %s --check-prefix=CHECK-AFTER
|
||||
; RUN: llvm-lto2 run -r=%t.bc,foo,pxl -use-new-pm --print-before-all %t.bc -o %t2 2>&1 | FileCheck %s --check-prefix=CHECK-BEFORE
|
||||
; RUN: llvm-lto2 run -r=%t.bc,foo,pxl -use-new-pm --print-after-all %t.bc -o %t3 2>&1 | FileCheck %s --check-prefix=CHECK-AFTER
|
||||
; CHECK-BEFORE: *** IR Dump Before GlobalDCEPass ***
|
||||
; CHECK-AFTER: *** IR Dump After GlobalDCEPass ***
|
||||
|
||||
|
|
Loading…
Reference in New Issue