kmpeng

Results comments of kmpeng

Closing as the changes made in PR https://github.com/llvm/llvm-project/pull/150216 fixed this issue.

Closing as this seems to have been fixed by https://github.com/llvm/llvm-project/pull/169076.

Both `array-local.test` and `array-local2.test` are now passing on Clang Vulkan after #225270 merged. The XFAILs have been removed in https://github.com/llvm/offload-test-suite/pull/1697.

Seems like the issue is using a non-boolean condition always makes it fall back to the scalar degenerate case ```hlsl template _HLSL_BUILTIN_ALIAS(__builtin_hlsl_select) T select(bool, T, T); ``` which is why...

The problem seems to be that we are not able to do an implicit conversion sequence on a template deduced argument, so with ```hlsl template _HLSL_BUILTIN_ALIAS(__builtin_hlsl_select) vector select(vector, vector, vector);...

I'm not really familiar with the state of long vectors and intrinsics right now. @damyanp Do you have an answer for this?

I haven't been able to get this to reproduce. Just from looking at the code though, I think the problem is here: https://github.com/llvm/llvm-project/blob/4a788031e8fc00eeae58a50665b499e6e87be850/llvm/lib/Target/SPIRV/SPIRVCombinerHelper.cpp#L93-L102 When `mi_match` fails, we still go through...

Closing as we are no longer seeing this crash; seems like another change has obscured it. This bug is likely fixed by #183630, but can't confirm because we can't reproduce...

@dnovillo I haven't worked that much with SPIRV so I don't think I have the experience to greenlight this. @llvm-beanz mentioned that we should have a chat about this as...

@danbrown-amd Can you comment on this issue saying you're working on it so we can assign it to you? Thanks!