Issue 88045
Summary [HLSL][SPIR-V] Add spv any intrinsic and lowering
Labels HLSL, backend:SPIR-V
Assignees farzonl
Reporter farzonl
    Add an intrinsic like this one from https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb3caf/llvm/include/llvm/IR/IntrinsicsDirectX.td#L24

to 
https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb3caf/llvm/include/llvm/IR/IntrinsicsSPIRV.td#L59

update the any.hlsl unit tests:
https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb3caf/clang/test/CodeGenHLSL/builtins/any.hlsl#L4

and implement the `OpAny` Lowering:
https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpAny
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to