Skip to content

Commit c81257c

Browse files
authored
[SYCL][Pulldown] Fix llvm-spirv pulldown (#9505)
the builtin-functions one is a real issue but it was introduced before just exposed by this test, i can reproduce it in current sycl branch HEAD, i will make an internal tracker second one is expected because of entry point wrapper thing reverted here Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 40c99ea commit c81257c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

llvm-spirv/test/builtin-functions.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
; RUN: llvm-as %s -o %t.bc
2-
; RUN: llvm-spirv %t.bc -spirv-text -o %t
2+
; RUN: llvm-spirv %t.bc -o %t.spv
3+
; RUN: llvm-spirv --to-text %t.spv -o %t
34
; RUN: llvm-spirv -r %t -spirv-text --spirv-target-env=SPV-IR --spirv-builtin-format=function -o %t2_rev.bc
45
; RUN: llvm-spirv -r %t -spirv-text --spirv-target-env=SPV-IR --spirv-builtin-format=global -o %t3_rev.bc
56
; RUN: llvm-spirv -r %t -spirv-text --spirv-builtin-format=function -o %t2_rev_ocl.bc

llvm-spirv/test/transcoding/spirv-target-types-buffer.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target triple = "spir-unknown-unknown"
88

99
; CHECK-SPIRV: Capability VectorComputeINTEL
1010
; CHECK-SPIRV: Extension "SPV_INTEL_vector_compute"
11-
; CHECK-SPIRV: Name [[#FuncName:]] "foo"
11+
; CHECK-SPIRV: EntryPoint {{[0-9]+}} [[#FuncName:]] "foo"
1212
; CHECK-SPIRV: Name [[#ParamName:]] "a"
1313
; CHECK-SPIRV: TypeVoid [[#VoidT:]]
1414
; CHECK-SPIRV: TypeBufferSurfaceINTEL [[#BufferID:]]

0 commit comments

Comments
 (0)