[Mlir-commits] [mlir] [mlir][spirv] Extend capabilities and extensions requirements checking (PR #68031)

Jakub Kuderski llvmlistbot at llvm.org
Mon Oct 9 18:16:54 PDT 2023


================
@@ -71,9 +75,13 @@ static LogicalResult checkExtensionRequirements(
 template <typename LabelT>
 static LogicalResult checkCapabilityRequirements(
     LabelT label, const spirv::TargetEnv &targetEnv,
-    const spirv::SPIRVType::CapabilityArrayRefVector &candidates) {
+    const spirv::SPIRVType::CapabilityArrayRefVector &candidates,
+    const ArrayRef<spirv::Capability> elidedCandidates = {}) {
----------------
kuhar wrote:

```suggestion
   ArrayRef<spirv::Capability> elidedCandidates = {}) {
```

https://github.com/llvm/llvm-project/pull/68031


More information about the Mlir-commits mailing list