Skip to content

Commit 1ea77d2

Browse files
jcranmer-intelMrSidims
authored andcommitted
Mass add -emit-opaque-pointers for tests that don't require changes.
1 parent 71e01b5 commit 1ea77d2

File tree

341 files changed

+382
-382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+382
-382
lines changed

test/DebugInfo/BuiltinCallLocation.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %clang_cc1 -triple spir -fdeclare-opencl-builtins -finclude-default-header %s -disable-llvm-passes -emit-llvm-bc -debug-info-kind=line-tables-only -o %t.bc -no-opaque-pointers
44
// RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
55
// RUN: llvm-spirv %t.bc -o %t.spv
6-
// RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
6+
// RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
77

88
// CHECK-SPIRV: Label
99
// CHECK-SPIRV: ExtInst {{.*}} DebugScope

test/DebugInfo/COFF/global-dllimport.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple < %t.ll | FileCheck %s
66

test/DebugInfo/COFF/no-cus.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple < %t.ll -filetype=obj -o %t.o
66
; RUN: llvm-objdump --section-headers %t.o | FileCheck %s

test/DebugInfo/DebugControlFlow.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: llvm-spirv %t.bc -spirv-text -o %t.spt
44
// RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
55
// RUN: llvm-spirv %t.bc -o %t.spv
6-
// RUN: llvm-spirv -r %t.spv -o %t.bc
6+
// RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.bc
77
// RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
88

99
// Test that no debug info instruction is inserted

test/DebugInfo/DebugFunction.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// RUN: %clang_cc1 %s -cl-std=clc++ -emit-llvm-bc -triple spir -debug-info-kind=line-tables-only -O0 -o - -no-opaque-pointers | llvm-spirv -o %t.spv
88
// RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
9-
// RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
9+
// RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
1010

1111
float foo(int i) {
1212
return i * 3.14;

test/DebugInfo/DebugInfoChecksum.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
; RUN: llvm-as %s -o %t.bc
1414
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix CHECK-SPIRV
1515
; RUN: llvm-spirv %t.bc -o %t.spv
16-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
16+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
1717
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
1818
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
1919

test/DebugInfo/DebugInfoChecksumCompileUnit.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; RUN: llvm-as %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix CHECK-SPIRV
33
; RUN: llvm-spirv %t.bc -o %t.spv
4-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
4+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
55
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
66
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
77

test/DebugInfo/DebugInfoLexicalBlockDependency.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
; RUN: llvm-as %s -o %t.bc
77
; RUN: llvm-spirv %t.bc -o %t.spv
8-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
8+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
99
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
1010
; RUN: FileCheck %s --input-file %t.rev.ll
1111

test/DebugInfo/DebugInfoNoneEntity.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
; Translation shouldn't crash:
33
; RUN: llvm-spirv %t.bc -spirv-text
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
66

77
; RUN: llvm-spirv -spirv-ext=+SPV_INTEL_debug_module %t.bc -o %t.spv
8-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
8+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
99

1010
source_filename = "llvm-link"
1111
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"

test/DebugInfo/DebugInfoProducer.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
; RUN: llvm-as %s -o %t.bc
1414
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix CHECK-SPIRV
1515
; RUN: llvm-spirv %t.bc -o %t.spv
16-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
16+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
1717
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
1818
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
1919

test/DebugInfo/DebugInfoSubrange.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV
44

55
; RUN: llvm-spirv -to-binary %t.spt -o %t.spv
6-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
6+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
77
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
88
; RUN: FileCheck < %t.rev.ll %s -check-prefix=CHECK-LLVM
99

test/DebugInfo/DebugInfoSubrangeWithOnlyCount.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llvm-spirv -to-binary %s -o %t.spv
2-
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
2+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
33
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
44
; RUN: FileCheck < %t.rev.ll %s
55

test/DebugInfo/DebugInfoWithUnknownIntrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+all --spirv-allow-unknown-intrinsics
3-
; RUN: llvm-spirv -r %t.spv -o %t.bc
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.bc
44
; RUN: llvm-dis %t.bc -o %t.ll
55
; RUN: FileCheck %s --input-file %t.ll -check-prefix=LLVM
66

test/DebugInfo/DebugUnstructuredControlFlow.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_unstructured_loop_controls -o %t.spv
33
// RUN: llvm-spirv %t.spv --to-text -o %t.spt
44
// RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV
5-
// RUN: llvm-spirv -r %t.spv -o %t.bc
5+
// RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.bc
66
// RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
77

88
// Test that no debug info instruction is inserted between LoopControlINTEL and

test/DebugInfo/Generic/2009-11-05-DeadGlobalVariable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple %t.ll -o /dev/null
66

test/DebugInfo/Generic/2009-11-06-NamelessGlobalVariable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple %t.ll -o /dev/null
66

test/DebugInfo/Generic/2009-11-10-CurrentFn.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple < %t.ll -o /dev/null
66

test/DebugInfo/Generic/2010-01-05-DbgScope.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple < %t.ll -o /dev/null
66

test/DebugInfo/Generic/2010-03-12-llc-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -O0 < %t.ll -o /dev/null
66

test/DebugInfo/Generic/2010-03-24-MemberFn.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -O0 < %t.ll | grep AT_decl_file | grep 2
66

test/DebugInfo/Generic/2010-04-19-FramePtr.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -debugger-tune=lldb -asm-verbose -O1 -o - < %t.ll | FileCheck %s
66
; RUN: llc -mtriple=%triple -debugger-tune=gdb -asm-verbose -O1 -o - < %t.ll | FileCheck %s --check-prefix=DISABLE

test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -O2 %t.ll -o - | FileCheck %s
66

test/DebugInfo/Generic/2010-10-01-crash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -O0 %t.ll -o /dev/null
66

test/DebugInfo/Generic/PR20038.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
; RUN: llvm-as < %s -o %t.bc
77
; RUN: llvm-spirv %t.bc -o %t.spv
8-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
8+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
99

1010
; RUN: llc -mtriple=%triple -O0 -filetype=obj -dwarf-linkage-names=All < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck %s
1111

test/DebugInfo/Generic/bug_null_debuginfo.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple < %t.ll
66

test/DebugInfo/Generic/constant-pointers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj %t.ll -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/dead-argument-order.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/debug-info-eis-option.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-debug-info-version=legacy
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -stop-before=finalize-isel -pre-RA-sched=linearize < %t.ll -experimental-debug-variable-locations=false | FileCheck %s
66

test/DebugInfo/Generic/def-line.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple < %t.ll -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/discriminator.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple < %t.ll -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/dwarf-public-names.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -debugger-tune=gdb -filetype=obj -o %t.o < %t.ll
88
; RUN: llvm-dwarfdump -debug-pubnames %t.o | FileCheck %s

test/DebugInfo/Generic/enum.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll > %t
88
; RUN: llvm-dwarfdump -v %t | FileCheck %s

test/DebugInfo/Generic/func-using-decl.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll > %t
88
; RUN: llvm-dwarfdump %t | FileCheck %s

test/DebugInfo/Generic/global.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll > %t
88
; RUN: llvm-dwarfdump %t | FileCheck %s

test/DebugInfo/Generic/gmlt_profiling.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22
; RUN: llvm-as < %s -o %t.bc
33
; RUN: llvm-spirv %t.bc -o %t.spv
4-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
4+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
55

66
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump -v - | FileCheck %S/gmlt_profiling.ll
77

test/DebugInfo/Generic/imported-name-inlined.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s
88

test/DebugInfo/Generic/incorrect-variable-debugloc1.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
; RUN: llvm-as < %s -o %t.bc
88
; RUN: llvm-spirv %t.bc -o %t.spv
9-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
9+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
1010

1111
; RUN: llc -mtriple=%triple -O2 -dwarf-version 2 -filetype=obj < %t.ll | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF23
1212
; RUN: llc -mtriple=%triple -O2 -dwarf-version 3 -filetype=obj < %t.ll | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF23

test/DebugInfo/Generic/inline-scopes.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll | llvm-dwarfdump -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/inlined-arguments.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -filetype=obj < %t.ll > %t
88
; RUN: llvm-dwarfdump %t | FileCheck %s

test/DebugInfo/Generic/inlined-locations.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s
44

55
; Check that the "inlinedAt" attribute of a DILocation references another
66
; DILocation that is marked as distinct. Note that the checks for distinct

test/DebugInfo/Generic/inlined-vars.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -O0 < %t.ll | FileCheck %s -check-prefix ARGUMENT
66
; RUN: llc -mtriple=%triple -O0 < %t.ll | FileCheck %s -check-prefix VARIABLE

test/DebugInfo/Generic/linear-dbg-value.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -stop-before=finalize-isel -pre-RA-sched=linearize < %t.ll -experimental-debug-variable-locations=false | FileCheck %s
66

test/DebugInfo/Generic/linkage-name-abstract.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -O0 -filetype=obj -dwarf-linkage-names=Abstract < %t.ll | llvm-dwarfdump -v -debug-info - > %t
66
; RUN: FileCheck %s -check-prefix=ONENAME < %t

test/DebugInfo/Generic/member-order.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -filetype=obj -O0 < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/missing-abstract-variable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; RUN: llvm-as < %s -o %t.bc
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
66

77
; RUN: llc -mtriple=%triple -O0 -filetype=obj < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck %s
88

test/DebugInfo/Generic/multiline.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llvm-as < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
44

55
; RUN: llc -mtriple=%triple -filetype=asm -asm-verbose=0 -O0 < %t.ll | FileCheck %s
66
; RUN: llc -mtriple=%triple -filetype=obj -O0 < %t.ll | llvm-dwarfdump -debug-line - | FileCheck %s --check-prefix=INT

0 commit comments

Comments
 (0)