File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
llvm/test/ThinLTO/X86/dtlto Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
RUN: rm -rf %t && split-file %s %t && cd %t
4
4
5
- ; Compile bitcode.
5
+ ; Generate ThinLTO bitcode files .
6
6
RUN: opt -thinlto-bc 0 .ll -o 0 .bc -O2
7
7
RUN: opt -thinlto-bc 1 .ll -o 1 .bc -O2
8
8
9
9
; Define a substitution to share the common DTLTO arguments. Note that the use
10
10
; of validate.py will cause a failure as it does not create output files.
11
11
DEFINE: %{command} = llvm-lto2 run 0 .bc 1 .bc -o t.o \
12
12
DEFINE: -dtlto-distributor=%python \
13
- DEFINE: -dtlto-distributor-arg=%llvm_src_root /utils/dtlto/validate.py,0 .bc,1 .bc \
14
- DEFINE: -thinlto-emit-indexes \
13
+ DEFINE: -dtlto-distributor-arg=%llvm_src_root /utils/dtlto/validate.py \
15
14
DEFINE: -r=0 .bc,g,px \
16
15
DEFINE: -r=1 .bc,f,px \
17
16
DEFINE: -r=1 .bc,g
@@ -38,7 +37,7 @@ INPUTS-NEXT: ]
38
37
ERR: failed: DTLTO backend compilation: cannot open native object file:
39
38
40
39
; Check that imports files are not created even if -save-temps is active.
41
- RUN: not %{command} -save-temps 2 >&1 \
40
+ RUN: not %{command} -save-temps 2 >&1 \
42
41
RUN: | FileCheck %s --check-prefixes=ERR
43
42
RUN: ls | FileCheck %s --check-prefix =NOIMPORTFILES
44
43
NOIMPORTFILES-NOT: imports
Original file line number Diff line number Diff line change 1
1
; Check that DTLTO creates identical summary index shard files as are created
2
2
; for an equivalent ThinLTO link.
3
3
4
- RUN: rm -rf %t && split-file %s %t && cd %t
4
+ RUN: rm -rf %t && split-file %s %t && cd %t
5
5
6
6
; Generate ThinLTO bitcode files.
7
7
RUN: opt -thinlto-bc t1.ll -o t1.bc
You can’t perform that action at this time.
0 commit comments