[clang] [llvm] [SPIR-V] Implement SPV_KHR_untyped_pointers extension (PR #201233)

Marcos Maronas via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 5 07:18:47 PDT 2026


================
@@ -0,0 +1,64 @@
+; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_untyped_pointers %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_untyped_pointers %s -o - -filetype=obj | spirv-val %}
+
+; Test OpUntypedPtrAccessChainKHR for GEP instructions in physical SPIR-V.
----------------
maarquitos14 wrote:

I wonder if we should make the checks a little bit more robust here, e.g. checking for types, indexes, etc.

https://github.com/llvm/llvm-project/pull/201233


More information about the cfe-commits mailing list