[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:07:22 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)
----------------
joker-eph wrote:
I don't find a previous reference to this env var in the repo, I would expect a LLVM-wide convention here, not something specific to these nvvm tests.
https://github.com/llvm/llvm-project/pull/219980
More information about the Mlir-commits
mailing list