[llvm] [HLSL][SPIRV] Legalize reinterpretation ptrcasts for byte-addressable buffers (PR #212999)
Tim Corringham via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 05:05:14 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
----------------
tcorringham wrote:
I have now added code which replicates the issue as reported more closely to SPIRVLegalizePointerCast.ll
https://github.com/llvm/llvm-project/pull/212999
More information about the llvm-commits
mailing list