Skip to content

Commit 201553c

Browse files
svenvhdwoodwor-intel
authored andcommitted
Disable opaque pointers for tests
Temporarily explicitly disable opaque pointers for tests, after LLVM commit 41d5033 ("[IR] Enable opaque pointers by default", 2022-06-02). Original commit: KhronosGroup/SPIRV-LLVM-Translator@2b32eb9
1 parent df5d6d5 commit 201553c

File tree

495 files changed

+504
-504
lines changed

Some content is hidden

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

495 files changed

+504
-504
lines changed

llvm-spirv/test/AtomicBuiltinsFloat.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Check that translator generates atomic instructions for atomic builtins
22
; FP-typed atomic_fetch_sub and atomic_fetch_sub_explicit should be translated
33
; to FunctionCall
4-
; RUN: llvm-as %s -o %t.bc
4+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
55
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s
66
; RUN: llvm-spirv %t.bc -o %t.spv
77
; RUN: spirv-val %t.spv

llvm-spirv/test/AtomicCompareExchange.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-as < %s -o %t.bc
1+
; RUN: llvm-as -opaque-pointers=0 < %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
33
; RUN: llvm-spirv -to-text %t.spv -o - | FileCheck %s --check-prefix=CHECK-SPIRV
44
; RUN: spirv-val %t.spv

llvm-spirv/test/AtomicCompareExchange_cl20.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-as %s -o %t.bc
1+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s
33
; RUN: llvm-spirv %t.bc -o %t.spv
44
; RUN: spirv-val %t.spv

llvm-spirv/test/CheckCapKernelWithoutKernel.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-as %s -o %t.bc
1+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -spirv-text -o %t
33
; RUN: FileCheck < %t %s
44
; RUN: llvm-spirv %t.bc -o %t.spv

llvm-spirv/test/ContractionON.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-as %s -o %t.bc
1+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv --spirv-fp-contract=on
33
; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s
44
; RUN: spirv-val %t.spv

llvm-spirv/test/ContractionOff.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
; clang -cc1 -x cl -emit-llvm -O2 -disable-llvm-passes -triple spir64 1.cl -o 1.ll
1818
; opt -mem2reg 1.ll -S -o 1.o.ll
1919

20-
; RUN: llvm-as %s -o %t.bc
20+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
2121
; RUN: llvm-spirv %t.bc -o %t.spv.default
2222
; RUN: llvm-spirv %t.spv.default -to-text -o - | FileCheck %s --check-prefixes CHECK,CHECK-ON
2323
; RUN: spirv-val %t.spv.default
2424

25-
; RUN: llvm-as %s -o %t.bc
25+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
2626
; RUN: llvm-spirv %t.bc -o %t.spv.off --spirv-fp-contract=off
2727
; RUN: llvm-spirv %t.spv.off -to-text -o - | FileCheck %s --check-prefixes CHECK,CHECK-OFF
2828
; RUN: spirv-val %t.spv.off
2929

30-
; RUN: llvm-as %s -o %t.bc
30+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
3131
; RUN: llvm-spirv %t.bc -o %t.spv.fast --spirv-fp-contract=fast
3232
; RUN: llvm-spirv %t.spv.fast -to-text -o - | FileCheck %s --check-prefixes CHECK,CHECK-FAST
3333
; RUN: spirv-val %t.spv.fast
3434

35-
; RUN: llvm-as %s -o %t.bc
35+
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
3636
; RUN: llvm-spirv %t.bc -o %t.spv.on --spirv-fp-contract=on
3737
; RUN: llvm-spirv %t.spv.on -to-text -o - | FileCheck %s --check-prefixes CHECK,CHECK-ON
3838
; RUN: spirv-val %t.spv.on

llvm-spirv/test/DebugInfo/COFF/global-dllimport.ll

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

llvm-spirv/test/DebugInfo/COFF/no-cus.ll

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

llvm-spirv/test/DebugInfo/DebugControlFlow.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -triple spir64-unknown-unknown -cl-std=CL2.0 -O0 -debug-info-kind=standalone -gno-column-info -emit-llvm %s -o %t.ll -no-opaque-pointers
2-
// RUN: llvm-as %t.ll -o %t.bc
2+
// RUN: llvm-as -opaque-pointers=0 %t.ll -o %t.bc
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

llvm-spirv/test/DebugInfo/DebugInfoChecksum.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
; Command line:
1111
; ./clang -cc1 -debug-info-kind=standalone -S -emit-llvm -triple spir -gcodeview -gcodeview-ghash main.cpp
1212

13-
; RUN: llvm-as %s -o %t.bc
13+
; RUN: llvm-as -opaque-pointers=0 %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
1616
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc

0 commit comments

Comments
 (0)