[llvm] [HLSL][SPIRV] Legalize reinterpretation ptrcasts for byte-addressable buffers (PR #212999)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 04:42:02 PDT 2026


================
@@ -0,0 +1,17 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv-unknown-vulkan-compute %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-vulkan-compute %s -o - -filetype=obj | spirv-val %}
+
+; CHECK: OpAccessChain
----------------
farzonl wrote:

These tests dont look sufficient. You should really be trying to capture a use def chain.

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


More information about the llvm-commits mailing list