|
9 | 9 | ; RUN: opt -S -passes=wholeprogramdevirt -wholeprogramdevirt-summary-action=import -wholeprogramdevirt-read-summary=%S/Inputs/import-branch-funnel.yaml < %s | FileCheck --check-prefixes=CHECK,BRANCH-FUNNEL,BRANCH-FUNNEL-NOVCP %s |
10 | 10 |
|
11 | 11 | ; Cutoff value is not explicitly set. Expect 3 remark messages. |
12 | | -; RUN: opt -S -passes=wholeprogramdevirt -wholeprogramdevirt-summary-action=import -pass-remarks=wholeprogramdevirt -wholeprogramdevirt-read-summary=%S/Inputs/import-single-impl.yaml < %s 2>&1 | grep "single-impl" | count 3 |
| 12 | +; RUN: opt -S -passes=wholeprogramdevirt \ |
| 13 | +; RUN: -wholeprogramdevirt-summary-action=import \ |
| 14 | +; RUN: -pass-remarks=wholeprogramdevirt \ |
| 15 | +; RUN: -wholeprogramdevirt-read-summary=%S/Inputs/import-single-impl.yaml \ |
| 16 | +; RUN: < %s 2>&1 | grep "single-impl" | count 3 |
| 17 | +; |
13 | 18 | ; Cutoff value is set to 1. Expect one remark messages. |
14 | | -; RUN: opt -S -passes=wholeprogramdevirt -wholeprogramdevirt-summary-action=import -pass-remarks=wholeprogramdevirt -wholeprogramdevirt-cutoff=1 -wholeprogramdevirt-read-summary=%S/Inputs/import-single-impl.yaml < %s 2>&1 | grep "single-impl" | count 1 |
| 19 | +; RUN: opt -S -passes=wholeprogramdevirt \ |
| 20 | +; RUN: -wholeprogramdevirt-summary-action=import -pass-remarks=wholeprogramdevirt \ |
| 21 | +; RUN: -wholeprogramdevirt-cutoff=1 \ |
| 22 | +; RUN: -wholeprogramdevirt-read-summary=%S/Inputs/import-single-impl.yaml < %s \ |
| 23 | +; RUN: 2>&1 | grep "single-impl" | count 1 |
| 24 | +; |
15 | 25 | ; Cutoff value is explicitly set to zero. Expect no remark message. |
16 | | -; RUN: opt -S -passes=wholeprogramdevirt -wholeprogramdevirt-summary-action=import -pass-remarks=wholeprogramdevirt -wholeprogramdevirt-cutoff=0 -wholeprogramdevirt-read-summary=%S/Inputs/import-single-impl.yaml < %s 2>&1 | FileCheck -implicit-check-not="remark" %s |
| 26 | +; RUN: opt -S -passes=wholeprogramdevirt \ |
| 27 | +; RUN: -wholeprogramdevirt-summary-action=import \ |
| 28 | +; RUN: -pass-remarks=wholeprogramdevirt -wholeprogramdevirt-cutoff=0 \ |
| 29 | +; RUN: -wholeprogramdevirt-read-summary=%S/Inputs/import-single-impl.yaml \ |
| 30 | +; RUN: < %s 2>&1 | FileCheck -implicit-check-not="remark" %s |
17 | 31 | target datalayout = "e-p:64:64" |
18 | 32 | target triple = "x86_64-unknown-linux-gnu" |
19 | 33 |
|
|
0 commit comments