|
3 | 3 | ; Note: the LLParser already does some constant folding, check that output first:
|
4 | 4 | ; RUN: opt -passes=verify -S < %s | FileCheck %s --check-prefixes=ALL,LLPARSER
|
5 | 5 | ; We should be able to fold almost everything in InstSimplify other than the final test which requries InstCombine
|
6 |
| -; RUN: opt -S -passes=instsimplify < %s | FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,INTEGRAL,INSTSIMPLIFY,INTEGRAL-INSTSIMPLIFY |
7 |
| -; RUN: opt -S -passes=instcombine < %s | FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,INTEGRAL,INSTCOMBINE,INTEGRAL-INSTCOMBINE |
| 6 | +; RUN: opt -S -passes=instsimplify < %s | FileCheck %s --check-prefixes=ALL,CHECK,INSTSIMPLIFY |
| 7 | +; RUN: opt -S -passes=instcombine < %s | FileCheck %s --check-prefixes=ALL,CHECK,INSTCOMBINE |
8 | 8 | ; Non-integral pointers limit certain transformations on pointers:
|
9 | 9 | ; RUN: sed -e 's/p:64:64:64:64/p:64:64:64:64-ni:1/g' %s | opt -S -passes=instsimplify | \
|
10 |
| -; RUN: FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,NONINTEGRAL,INSTSIMPLIFY,NONINTEGRAL-INSTSIMPLIFY |
| 10 | +; RUN: FileCheck %s --check-prefixes=ALL,CHECK,INSTSIMPLIFY |
11 | 11 | ; RUN: sed -e 's/p:64:64:64:64/p:64:64:64:64-ni:1/g' %s | opt -S -passes=instcombine | \
|
12 |
| -; RUN: FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,NONINTEGRAL,INSTCOMBINE,NONINTEGRAL-INSTCOMBINE |
| 12 | +; RUN: FileCheck %s --check-prefixes=ALL,CHECK,INSTCOMBINE |
13 | 13 | target datalayout = "p:64:64:64:64"
|
14 | 14 |
|
15 | 15 | declare void @use_i64(i64)
|
|
0 commit comments