[Mlir-commits] [mlir] [MLIR][NVVM] Add optional llc verification for NVVM dialect tests (PR #219980)

Mehdi Amini llvmlistbot at llvm.org
Mon Sep 7 15:08:54 PDT 2026


================
@@ -316,6 +316,27 @@ def find_real_python_interpreter():
 else:
     tools.extend(["mlir-opt"])
 
+
+def enable_llc(llc_executable):
+    config.available_features.add("llc")
----------------
joker-eph wrote:

```suggestion
    config.available_features.add("has_llc_binary")
```

This makes it more like a "feature" and avoids confusion with the binary name (when reading `%if llc`)

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


More information about the Mlir-commits mailing list