You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding support for opaque pointers in HandleSpirvDecorationMetadata
For `opaque pointers` we cannot deduce a type for `Prefetch` call with `ptr`.
We need this information to create appropriate builtins. To achieve this,
we can use `llvm::demangle()` method and find appropriate type.
This change is compatible with both typed and opaque pointers.
Copy file name to clipboardExpand all lines: IGC/ocloc_tests/features/cache_controls/cl_intel_subgroups_buffer_prefetch/SPV_INTEL_subgroup_buffer_prefetch.ll
; TODO: This test fails on LLVM 16 with opaque pointers, but passes with typed pointers. Once the necessary fixes are made, remove llvm-15-or-older from the list above. llvm-15-or-older was added to the list above to prevent non-zero return from llvm-lit on LLVM 16 build with typed pointers forced.
12
-
; XFAIL: llvm-16-plus
13
10
; UNSUPPORTED: sys32
14
11
15
12
; LLVM with opaque pointers:
16
-
; TODO: llvm-as -opaque-pointers=1 %s -o %t.bc
13
+
; RUN: llvm-as -opaque-pointers=1 %s -o %t.bc
17
14
; COM: Replace SPV_INTEL_subgroups with SPV_INTEL_subgroup_buffer_prefetch once support for prefetches is implemented in the KHR Translator
0 commit comments