[Mlir-commits] [mlir] [MLIR] Add reduction interface with tester to mlir-reduce (PR #166096)

Jacques Pienaar llvmlistbot at llvm.org
Wed Nov 12 02:53:09 PST 2025


================
@@ -46,6 +49,9 @@ class Tester {
   /// Return whether the file in the given path is interesting.
   Interestingness isInteresting(StringRef testCase) const;
 
+  void setTestScript(StringRef script) { testScript = script; }
----------------
jpienaar wrote:

I was wondering about something simpler, would

`Tester tester(testerName, testerArgs);`

in the class member work?

Else yes better to set rather than recreate and/or copy.

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


More information about the Mlir-commits mailing list