aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorLucie Choi <ychoi0407@gmail.com>2025-10-03 13:02:06 -0700
committerGitHub <noreply@github.com>2025-10-03 16:02:06 -0400
commitb0ad9c293a493c5912ffee6c18191bf35095f9f7 (patch)
tree9a2770d3acf7f024d6395024b7244baee8f5209f /clang/lib/Frontend/CompilerInstance.cpp
parentbe29612ffceac888f931dc45664f7c42cea9b598 (diff)
downloadllvm-b0ad9c293a493c5912ffee6c18191bf35095f9f7.zip
llvm-b0ad9c293a493c5912ffee6c18191bf35095f9f7.tar.gz
llvm-b0ad9c293a493c5912ffee6c18191bf35095f9f7.tar.bz2
[SPIR-V] Fix `asdouble` issue in SPIRV codegen to correctly generate `OpBitCast` instruction. (#161891)
Generate `OpBitCast` instruction for pointer cast operation if the element type is different. The HLSL for the unit test is ```hlsl StructuredBuffer<uint2> In : register(t0); RWStructuredBuffer<double2> Out : register(u2); [numthreads(1,1,1)] void main() { Out[0] = asdouble(In[0], In[1]); } ``` Resolves https://github.com/llvm/llvm-project/issues/153513
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions