Skip to content

Commit 3eeb3bf

Browse files
authored
Remove the -emit-opaque-pointers flag (#2121)
We no longer need this flag as only opaque pointers are supported now.
1 parent 1677289 commit 3eeb3bf

File tree

478 files changed

+766
-772
lines changed

Some content is hidden

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

478 files changed

+766
-772
lines changed

test/CXX/global-ctor.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 -o %t.spv
33
// RUN: spirv-val %t.spv
44
// RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
5-
// RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
5+
// RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
66
// RUN: not llvm-spirv %t.bc --spirv-max-version=1.0 2>&1 | FileCheck %s --check-prefix=CHECK-SPV10
77

88
class Something {

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
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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
6+
// RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o %t.bc
6+
// RUN: llvm-spirv -r %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/DebugDeclareUnused.cl

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

44
// RUN: %clang_cc1 %s -triple spir -disable-llvm-passes -debug-info-kind=standalone -emit-llvm-bc -o - | llvm-spirv -spirv-mem2reg -o %t.spv
55
// RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
6-
// RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
6+
// RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
77

88

99
void foo() {

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 - | 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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
9+
// RUN: llvm-spirv -r %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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
; RUN: llvm-as %s -o %t.bc
1414
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix CHECK-SPIRV-OCL
1515
; RUN: llvm-spirv %t.bc -o %t.spv
16-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
16+
; RUN: llvm-spirv -r %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

2020
; RUN: llvm-spirv %t.bc -spirv-text --spirv-debug-info-version=nonsemantic-shader-200 -o - | FileCheck %s --check-prefix CHECK-SPIRV-200
2121
; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-200 -o %t.spv
22-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
22+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
2323
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
2424
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
2525

test/DebugInfo/DebugInfoChecksumCompileUnit.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
; RUN: llvm-as %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefix CHECK-SPIRV-OCL
33
; RUN: llvm-spirv %t.bc -o %t.spv
4-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
4+
; RUN: llvm-spirv -r %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

88
; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-200 -spirv-text -o - | FileCheck %s --check-prefix CHECK-SPIRV-200
99
; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-200 -o %t.spv
10-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
10+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
1111
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
1212
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefixes=CHECK-LLVM,CHECK-LLVM-200
1313

test/DebugInfo/DebugInfoLLVMArg.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-allow-extra-diexpressions
66
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
77
; RUN: FileCheck < %t.spt %s --check-prefixes=CHECK-SPIRV-OCL
8-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
8+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
99
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-OCL
1010

1111
; RUN: llvm-as %s -o %t.bc
1212
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-debug-info-version=nonsemantic-shader-200
1313
; RUN: llvm-spirv %t.spv -to-text -o %t.spt
1414
; RUN: FileCheck < %t.spt %s --check-prefixes=CHECK-SPIRV-200
15-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
15+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
1616
; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM-200
1717

1818
; CHECK-SPIRV-200-DAG: TypeInt [[#INT32:]] 32 0

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 -emit-opaque-pointers %t.spv -o %t.rev.bc
8+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o %t.rev.bc
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o %t.rev.bc
8+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o %t.rev.bc
16+
; RUN: llvm-spirv -r %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/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 -emit-opaque-pointers %t.spv -o %t.rev.bc
2+
; RUN: llvm-spirv -r %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/DebugInfoTypeBasic.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
; RUN: llvm-as %s -o %t.bc
1010
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-OCL
1111
; RUN: llvm-spirv %t.bc -o %t.spv
12-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
12+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
1313
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
1414
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
1515

1616
; RUN: llvm-spirv %t.bc -spirv-text --spirv-debug-info-version=nonsemantic-shader-100 -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-NONSEM
1717
; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spv
18-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
18+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
1919
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
2020
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
2121

test/DebugInfo/DebugInfoTypeInheritance.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
; RUN: llvm-spirv %t.bc -spirv-text -o %t.spt
33
; RUN: FileCheck %s --input-file %t.spt --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-OCL
44
; RUN: llvm-spirv %t.bc -o %t.spv
5-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
5+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
66
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
77
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
88

99
; RUN: llvm-spirv %t.bc -spirv-text --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spt
1010
; RUN: FileCheck %s --input-file %t.spt --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-NONSEM
1111
; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spv
12-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
12+
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
1313
; RUN: llvm-dis %t.rev.bc -o %t.rev.ll
1414
; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM
1515

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 -emit-opaque-pointers %t.spv -o %t.bc
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o %t.bc
5+
// RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
8+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
44

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

test/DebugInfo/Generic/c-and-cpp-mixed.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
; RUN: llvm-as < %s -o %t.bc
55
; RUN: llvm-spirv %t.bc -o %t.spv
66
; RUN: llvm-spirv --to-text %t.spv -o - | FileCheck %s --check-prefix=CHECK-SPIRV
7-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
7+
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
88
; RUN: FileCheck < %t.ll %s --check-prefix=CHECK-LLVM
99

1010
; CHECK-SPIRV: String [[#Foo:]] "foo"

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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
3+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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/function-ptr-templ-null.ll

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

1616
; RUN: llvm-as < %s -o %t.bc
1717
; RUN: llvm-spirv %t.bc -o %t.spv
18-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
18+
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
1919
; RUN: FileCheck < %t.ll %s --check-prefix=CHECK-LLVM
2020

2121
; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck %s --check-prefix=CHECK-DWARF

test/DebugInfo/Generic/function-ptr-templ.ll

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

1616
; RUN: llvm-as < %s -o %t.bc
1717
; RUN: llvm-spirv %t.bc -o %t.spv
18-
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
18+
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
1919
; RUN: FileCheck < %t.ll %s --check-prefix=CHECK-LLVM
2020
; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %t.ll | llvm-dwarfdump -v -debug-info - | FileCheck %s --check-prefix=CHECK-DWARF
2121

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 -emit-opaque-pointers %t.spv -o - | llvm-dis -o %t.ll
5+
; RUN: llvm-spirv -r %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

0 commit comments

Comments
 (0)