Skip to content

Commit 40b32c3

Browse files
jcranmer-inteldbudanov-cmplr
authored andcommitted
Mass add -emit-opaque-pointers for tests that don't require changes.
Original commit: KhronosGroup/SPIRV-LLVM-Translator@1ea77d2
1 parent d89c352 commit 40b32c3

File tree

341 files changed

+439
-380
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

+439
-380
lines changed

llvm-spirv/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

llvm-spirv/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

llvm-spirv/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

llvm-spirv/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

llvm-spirv/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;

llvm-spirv/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

llvm-spirv/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

llvm-spirv/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

llvm-spirv/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"

llvm-spirv/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

0 commit comments

Comments
 (0)