[Mlir-commits] [mlir] [MLIR][NVVM] Add optional llc verification for NVVM dialect tests (PR #219980)
Durgadoss R
llvmlistbot at llvm.org
Tue Sep 1 06:54:58 PDT 2026
================
@@ -316,6 +316,28 @@ def find_real_python_interpreter():
else:
tools.extend(["mlir-opt"])
+
+def enable_llc(llc_executable):
+ config.available_features.add("llc")
+ tools.extend(
+ [
+ ToolSubst("%llc", llc_executable),
+ ToolSubst(
+ "%llc-verify",
+ f"{llc_executable} -verify-machineinstrs -o /dev/null",
+ ),
+ ]
+ )
+
+
+llc_executable = (
+ lit_config.params.get("llc")
+ or os.environ.get("LLVM_LLC_EXECUTABLE", None)
+ or lit.util.which("llc", config.llvm_tools_dir)
+)
----------------
durga4github wrote:
ok, so, its that host-supports-nvptx thing.. Thanks for clarifying, Kirill! LGTM to land
https://github.com/llvm/llvm-project/pull/219980
More information about the Mlir-commits
mailing list