[Mlir-commits] [mlir] [mlir][spirv] Enable serializer to write SPIR-V modules into separate files (PR #152678)

Igor Wodiany llvmlistbot at llvm.org
Mon Aug 11 09:38:29 PDT 2025


================
@@ -34,7 +34,17 @@ struct SerializationOptions {
   /// tool. This saved file is later used for validation.
   bool saveModuleForValidation = false;
   /// A prefix prepended to the file used when `saveModuleForValidation`
-  /// is set to `true`.
+  /// is set to `true`. This can either be a file prefix, or a relative or
+  /// or an absolute path followed by the prefix. For example:
+  ///
+  ///   * "foo" - Create files with a `foo` prefix in the current working
+  ///     directory. For example: `foo0`, `foo1` ... `fooN`.
----------------
IgWod-IMG wrote:

Good point. Fixed.

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


More information about the Mlir-commits mailing list