[Mlir-commits] [mlir] [MLIR][NVVM] Add optional llc verification for NVVM dialect tests (PR #219980)
Kirill Vedernikov
llvmlistbot at llvm.org
Tue Sep 8 05:49:26 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")
+ tools.extend(
+ [
+ ToolSubst(
+ "%llc-verify",
+ f"{llc_executable} -verify-machineinstrs -o {os.devnull}",
+ ),
+ ]
+ )
+
+
+llc_executable = (
+ lit_config.params.get("llc")
+ or os.environ.get("LLVM_LLC_EXECUTABLE", None)
----------------
kvederni wrote:
Done.
https://github.com/llvm/llvm-project/pull/219980
More information about the Mlir-commits
mailing list