diff options
Diffstat (limited to 'llvm/test/Other/statistic.ll')
-rw-r--r-- | llvm/test/Other/statistic.ll | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/test/Other/statistic.ll b/llvm/test/Other/statistic.ll index c3be9f362e6..7b89c9e5462 100644 --- a/llvm/test/Other/statistic.ll +++ b/llvm/test/Other/statistic.ll @@ -1,11 +1,16 @@ ; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json 2>&1 | FileCheck %s --check-prefix=JSON ; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json -info-output-file %t && FileCheck %s < %t --check-prefix=JSON +; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json -time-passes 2>&1 | FileCheck %s --check-prefixes=JSON,JSONTIME +; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json -time-passes -info-output-file %t && FileCheck %s < %t --check-prefixes=JSON,JSONTIME ; RUN: opt < %s -o /dev/null -instsimplify -stats 2>&1 | FileCheck %s --check-prefix=DEFAULT ; RUN: opt < %s -o /dev/null -instsimplify -stats -info-output-file %t && FileCheck %s < %t --check-prefix=DEFAULT ; REQUIRES: asserts ; JSON: { -; JSON: "instsimplify.NumSimplified": 1 +; JSON-DAG: "instsimplify.NumSimplified": 1 +; JSONTIME-DAG: "time.pass.Remove redundant instructions.wall" +; JSONTIME-DAG: "time.pass.Remove redundant instructions.user" +; JSONTIME-DAG: "time.pass.Remove redundant instructions.sys" ; JSON: } ; DEFAULT: 1 instsimplify - Number of redundant instructions removed |