File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed
llvm-spirv/test/DebugInfo Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 6
6
// RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
7
7
8
8
// RUN: %clang_cc1 %s -triple spir -disable-llvm-passes -debug-info-kind=standalone -emit-llvm-bc -o - | llvm-spirv -spirv-mem2reg -o %t.spv
9
- // RUN: llvm-spirv --experimental-debuginfo-iterators=1 %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
10
- // RUN: llvm-spirv -r --experimental-debuginfo-iterators=1 %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
9
+ // RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
10
+ // RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
11
11
12
12
13
13
void foo () {
Original file line number Diff line number Diff line change 16
16
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-200
17
17
18
18
; RUN: llvm-as %s -o %t.bc
19
- ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-allow-extra-diexpressions --experimental-debuginfo-iterators=1
20
- ; RUN: llvm-spirv %t.spv -to-text -o %t.spt --experimental-debuginfo-iterators=1
19
+ ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-allow-extra-diexpressions
20
+ ; RUN: llvm-spirv %t.spv -to-text -o %t.spt
21
21
; RUN: FileCheck < %t.spt %s --check-prefixes=CHECK-SPIRV-OCL
22
- ; RUN: llvm-spirv -r --experimental-debuginfo-iterators=1 %t.spv -o %t.rev.bc
22
+ ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
23
23
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-OCL
24
24
25
25
; RUN: llvm-as %s -o %t.bc
26
- ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-debug-info-version=nonsemantic-shader-200 --experimental-debuginfo-iterators=1
27
- ; RUN: llvm-spirv %t.spv -to-text -o %t.spt --experimental-debuginfo-iterators=1
26
+ ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-debug-info-version=nonsemantic-shader-200
27
+ ; RUN: llvm-spirv %t.spv -to-text -o %t.spt
28
28
; RUN: FileCheck < %t.spt %s --check-prefixes=CHECK-SPIRV-200
29
- ; RUN: llvm-spirv -r --experimental-debuginfo-iterators=1 %t.spv -o %t.rev.bc
29
+ ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
30
30
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-200
31
31
32
32
; CHECK-SPIRV-200-DAG: TypeInt [[#INT32:]] 32 0
Original file line number Diff line number Diff line change 14
14
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
15
15
16
16
; RUN: llvm-as %s -o %t.bc
17
- ; RUN: llvm-spirv %t.bc -spirv-text -o %t.spt --experimental-debuginfo-iterators=1
17
+ ; RUN: llvm-spirv %t.bc -spirv-text -o %t.spt
18
18
; RUN: FileCheck %s --input-file %t.spt --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-OCL
19
- ; RUN: llvm-spirv %t.bc -o %t.spv --experimental-debuginfo-iterators=1
20
- ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc --experimental-debuginfo-iterators=1
19
+ ; RUN: llvm-spirv %t.bc -o %t.spv
20
+ ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
21
21
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
22
22
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
23
23
24
- ; RUN: llvm-spirv %t.bc -spirv-text --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spt --experimental-debuginfo-iterators=1
24
+ ; RUN: llvm-spirv %t.bc -spirv-text --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spt
25
25
; RUN: FileCheck %s --input-file %t.spt --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-NONSEM
26
- ; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spv --experimental-debuginfo-iterators=1
27
- ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc --experimental-debuginfo-iterators=1
26
+ ; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spv
27
+ ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
28
28
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
29
29
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
30
30
Original file line number Diff line number Diff line change 5
5
; RUN: FileCheck %s --input-file %t.ll -check-prefix=LLVM
6
6
7
7
; RUN: llvm-as %s -o %t.bc
8
- ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+all --spirv-allow-unknown-intrinsics --experimental-debuginfo-iterators=1
9
- ; RUN: llvm-spirv -r %t.spv -o %t.bc --experimental-debuginfo-iterators=1
8
+ ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+all --spirv-allow-unknown-intrinsics
9
+ ; RUN: llvm-spirv -r %t.spv -o %t.bc
10
10
; RUN: llvm-dis %t.bc -o %t.ll
11
11
; RUN: FileCheck %s --input-file %t.ll -check-prefix=LLVM
12
12
Original file line number Diff line number Diff line change 14
14
; RUN: llc -mtriple=%triple -dwarf-version=4 -filetype=obj -O0 < %t.rev.ll
15
15
16
16
; RUN: llvm-as < %s -o %t.bc
17
- ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-allow-extra-diexpressions --experimental-debuginfo-iterators=1
18
- ; RUN: llvm-spirv -r --experimental-debuginfo-iterators=1 %t.spv -o - | llvm-dis -o %t.rev.ll
17
+ ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-allow-extra-diexpressions
18
+ ; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.rev.ll
19
19
; RUN: FileCheck %s --input-file %t.rev.ll
20
20
21
21
; RUN: llc -mtriple=%triple -dwarf-version=5 -filetype=obj -O0 < %t.rev.ll
22
22
; RUN: llc -mtriple=%triple -dwarf-version=4 -filetype=obj -O0 < %t.rev.ll
23
23
24
- ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-debug-info-version=nonsemantic-shader-200 --experimental-debuginfo-iterators=1
25
- ; RUN: llvm-spirv -r --experimental-debuginfo-iterators=1 %t.spv -o - | llvm-dis -o %t.rev.ll
24
+ ; RUN: llvm-spirv %t.bc -o %t.spv --spirv-debug-info-version=nonsemantic-shader-200
25
+ ; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.rev.ll
26
26
; RUN: FileCheck %s --input-file %t.rev.ll
27
27
28
28
; RUN: llc -mtriple=%triple -dwarf-version=5 -filetype=obj -O0 < %t.rev.ll
You can’t perform that action at this time.
0 commit comments