Issue |
131878
|
Summary |
[SPIR-V] Input variables should not have linkage attributes
|
Labels |
new issue
|
Assignees |
|
Reporter |
cassiebeckley
|
[`@llvm.spv.thread.id.in.group`](https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/SV_GroupThreadID.ll#L19) (generated by HLSL `SV_GroupThreadID`), [`@llvm.spv.thread.id`](https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/SV_DispatchThreadID.ll#L19) (HLSL's `SV_DispatchThreadID`) and other intrinsics are currently being lowered to builtin input variables with linkage attributes. This is not valid for SPIR-V shaders.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs