diff options
author | Igor Wodiany <igor.wodiany@imgtec.com> | 2025-01-22 17:45:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 12:45:23 -0500 |
commit | f78359cf43cb990f66412059383cdd95ab6e6ec4 (patch) | |
tree | 00bb1979cb177c5be1bb469b50a205fa192c64e5 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | 8e79ade49d68c49aeb8ba008b59f559b86d22765 (diff) | |
download | llvm-f78359cf43cb990f66412059383cdd95ab6e6ec4.zip llvm-f78359cf43cb990f66412059383cdd95ab6e6ec4.tar.gz llvm-f78359cf43cb990f66412059383cdd95ab6e6ec4.tar.bz2 |
[mlir][spirv] Add definition for OpEmitVertex and OpEndPrimitive (#123759)
This is hopefully the first patch in the series of patches adding some
missing SPIR-V ops to MLIR over the next weeks/months, starting with
something simple: `OpEmitVertex` and `OpEndPrimitive`. Since the ops
have no input and outputs, and the only condition is "This instruction
must only be used when only one stream is present.", which I don't think
can be validate at the instruction level in isolation, I set
`hasVerifier` to 0. I hope I didn't miss anything, but I'm more than
happy to address any comments.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions