forked from OSchip/llvm-project
Split opt-remark YAML and opt output testing on this test
This prepares for https://reviews.llvm.org/D33514 llvm-svn: 312544
This commit is contained in:
parent
33caeadd90
commit
9c35f6383b
|
@ -1,8 +1,11 @@
|
|||
; RUN: opt < %s -gvn -o /dev/null -pass-remarks-output=%t -S -pass-remarks=gvn \
|
||||
; RUN: opt < %s -gvn -o /dev/null -S -pass-remarks=gvn -pass-remarks-missed=gvn \
|
||||
; RUN: 2>&1 | FileCheck %s
|
||||
; RUN: opt < %s -gvn -o /dev/null -pass-remarks-output=%t -S
|
||||
; RUN: cat %t | FileCheck -check-prefix=YAML %s
|
||||
; RUN: opt < %s -aa-pipeline=basic-aa -passes=gvn -o /dev/null -pass-remarks-output=%t -S -pass-remarks=gvn \
|
||||
|
||||
; RUN: opt < %s -aa-pipeline=basic-aa -passes=gvn -o /dev/null -S -pass-remarks=gvn -pass-remarks-missed=gvn \
|
||||
; RUN: 2>&1 | FileCheck %s
|
||||
; RUN: opt < %s -aa-pipeline=basic-aa -passes=gvn -o /dev/null -pass-remarks-output=%t -S
|
||||
; RUN: cat %t | FileCheck -check-prefix=YAML %s
|
||||
|
||||
; CHECK: remark: <unknown>:0:0: load of type i32 eliminated{{$}}
|
||||
|
|
Loading…
Reference in New Issue