diff options
Diffstat (limited to 'llvm/test/tools/llvm-lto2/X86/pipeline.ll')
-rw-r--r-- | llvm/test/tools/llvm-lto2/X86/pipeline.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-lto2/X86/pipeline.ll b/llvm/test/tools/llvm-lto2/X86/pipeline.ll index 7effb0c801b..29276d8d13a 100644 --- a/llvm/test/tools/llvm-lto2/X86/pipeline.ll +++ b/llvm/test/tools/llvm-lto2/X86/pipeline.ll @@ -1,5 +1,10 @@ ; RUN: llvm-as < %s > %t1.bc +; Try the default pipeline and check is BasicAA is invoked. +; RUN: llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px -debug-pass-manager \ +; RUN: -use-new-pm 2>&1 | FileCheck %s --check-prefix=DEFAULT +; DEFAULT: Running analysis: BasicAA on patatino + ; Try a custom pipeline ; RUN: llvm-lto2 run %t1.bc -o %t.o -save-temps \ ; RUN: -r %t1.bc,patatino,px -opt-pipeline loweratomic \ |