This adds existing extensions as implied by SPIR-V 1.6.
Also clean up the surrounding code.
| Paths 
 |  Differential  D139369  
[mlir][spirv] Add extensions implied by SPIR-V 1.6 ClosedPublic Authored by kuhar on Dec 5 2022, 2:12 PM. 
Details Summary This adds existing extensions as implied by SPIR-V 1.6. Also clean up the surrounding code. 
Diff Detail 
 Event Timelineantiagainst added inline comments. 
 This revision now requires changes to proceed.Dec 5 2022, 2:15 PM Comment Actions 
 Not really.. We need to write ops depend on this effectively; that's not easy. It's fine to forgo for now. This revision is now accepted and ready to land.Dec 5 2022, 2:39 PM This revision was landed with ongoing or failed builds.Dec 5 2022, 2:41 PM Closed by commit rG2442aa344770: [mlir][spirv] Add extensions implied by SPIR-V 1.6 (authored by kuhar).  ·  Explain Why This revision was automatically updated to reflect the committed changes. kuhar marked an inline comment as done. 
Revision Contents 
 
Diff 480253 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
 mlir/lib/Dialect/SPIRV/IR/SPIRVEnums.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Could you actually do this? It's simply listing these two extensions in the extension list in OpBase.td. :)