File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
llvm/test/Analysis/StackSafetyAnalysis Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 6
6
; RUN: llvm-as %S/Inputs/ipa-alias.ll -o %t1.bc
7
7
; RUN: llvm-link %t0.bc %t1.bc -o %t.combined.bc
8
8
9
- ; RUN: opt -S -analyze -stack-safety-local %t.combined.bc | FileCheck %s --check-prefixes=CHECK,LOCAL
9
+ ; RUN: opt -S -analyze -stack-safety-local %t.combined.bc -enable-new-pm=0 | FileCheck %s --check-prefixes=CHECK,LOCAL
10
10
; RUN: opt -S -passes="print<stack-safety-local>" -disable-output %t.combined.bc 2>&1 | FileCheck %s --check-prefixes=CHECK,LOCAL
11
11
12
- ; RUN: opt -S -analyze -stack-safety %t.combined.bc | FileCheck %s --check-prefixes=CHECK,GLOBAL,NOLTO
12
+ ; RUN: opt -S -analyze -stack-safety %t.combined.bc -enable-new-pm=0 | FileCheck %s --check-prefixes=CHECK,GLOBAL,NOLTO
13
13
; RUN: opt -S -passes="print-stack-safety" -disable-output %t.combined.bc 2>&1 | FileCheck %s --check-prefixes=CHECK,GLOBAL,NOLTO
14
14
15
15
; Do an end-to-test using the new LTO API
Original file line number Diff line number Diff line change 5
5
; RUN: llvm-as %S/Inputs/ipa.ll -o %t1.bc
6
6
; RUN: llvm-link -disable-lazy-loading %t0.bc %t1.bc -o %t.combined.bc
7
7
8
- ; RUN: opt -S -analyze -stack-safety-local %t.combined.bc | FileCheck %s --check-prefixes=CHECK,LOCAL
8
+ ; RUN: opt -S -analyze -stack-safety-local %t.combined.bc -enable-new-pm=0 | FileCheck %s --check-prefixes=CHECK,LOCAL
9
9
; RUN: opt -S -passes="print<stack-safety-local>" -disable-output %t.combined.bc 2>&1 | FileCheck %s --check-prefixes=CHECK,LOCAL
10
10
11
- ; RUN: opt -S -analyze -stack-safety %t.combined.bc | FileCheck %s --check-prefixes=CHECK,GLOBAL,NOLTO
11
+ ; RUN: opt -S -analyze -stack-safety %t.combined.bc -enable-new-pm=0 | FileCheck %s --check-prefixes=CHECK,GLOBAL,NOLTO
12
12
; RUN: opt -S -passes="print-stack-safety" -disable-output %t.combined.bc 2>&1 | FileCheck %s --check-prefixes=CHECK,GLOBAL,NOLTO
13
13
14
14
; Do an end-to-test using the new LTO API
Original file line number Diff line number Diff line change 1
- ; RUN: opt -S -analyze -stack-safety-local < %s | FileCheck %s --check-prefixes=CHECK,LOCAL
1
+ ; RUN: opt -S -analyze -stack-safety-local < %s -enable-new-pm=0 | FileCheck %s --check-prefixes=CHECK,LOCAL
2
2
; RUN: opt -S -passes="print<stack-safety-local>" -disable-output < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,LOCAL
3
- ; RUN: opt -S -analyze -stack-safety < %s | FileCheck %s --check-prefixes=CHECK,GLOBAL
3
+ ; RUN: opt -S -analyze -stack-safety < %s -enable-new-pm=0 | FileCheck %s --check-prefixes=CHECK,GLOBAL
4
4
; RUN: opt -S -passes="print-stack-safety" -disable-output < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,GLOBAL
5
5
6
6
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@@ -611,4 +611,4 @@ entry:
611
611
}
612
612
613
613
declare void @llvm.lifetime.start.p0i8 (i64 , i8* nocapture )
614
- declare void @llvm.lifetime.end.p0i8 (i64 , i8* nocapture )
614
+ declare void @llvm.lifetime.end.p0i8 (i64 , i8* nocapture )
Original file line number Diff line number Diff line change 1
- ; RUN: opt -S -analyze -stack-safety-local < %s | FileCheck %s
1
+ ; RUN: opt -S -analyze -stack-safety-local -enable-new-pm=0 < %s | FileCheck %s
2
2
; RUN: opt -S -passes="print<stack-safety-local>" -disable-output < %s 2>&1 | FileCheck %s
3
- ; RUN: opt -S -analyze -stack-safety < %s | FileCheck %s
3
+ ; RUN: opt -S -analyze -stack-safety < %s -enable-new-pm=0 | FileCheck %s
4
4
; RUN: opt -S -passes="print-stack-safety" -disable-output < %s 2>&1 | FileCheck %s
5
5
6
6
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
You can’t perform that action at this time.
0 commit comments