Adam Yang

Results 5 issues of Adam Yang

**Description** The debug value mapping for templated structs map to the pointer of the struct, instead of the value of the struct. **Steps to Reproduce** Compile the following shader: ```...

bug
debug info

https://github.com/microsoft/DirectXShaderCompiler/blob/8f2881e51178346547c2bf58c74691e05c5cf825/lib/HLSL/HLMatrixBitcastLowerPass.cpp#L229C28-L229C32 The `LI` below should be `ST`. The `LI` is from the previous if testing for `U`'s type. ``` } else if (LoadInst *LI = dyn_cast(U)) { ... } else...

matrix-bug
tech-debt

Fixes #88052 - Added the following intrinsics: - `int_spv_uclamp` - `int_spv_sclamp` - `int_spv_fclamp` - Update the clamp.hlsl unit tests to include SPIRV - Added the SPIRV specific tests

clang
clang:codegen
HLSL
backend:SPIR-V
llvm:ir

Hi, I'm trying to construct the control flow graph from asm using the IsaDecoder. The branch instructions give the branch offset, but there's no information about instruction's offsets. Is there...