// Check that `--spirv-save-validation-files-with-prefix` generates // a correct number of files. // RUN: rm -rf %t // RUN: mkdir %t && mlir-translate --serialize-spirv --no-implicit-module \ // RUN: --split-input-file --spirv-save-validation-files-with-prefix=%t/foo %s \ // RUN: && ls %t/foo*.spv | wc -l | FileCheck %s // RUN: rm -rf %t // CHECK: 4 spirv.module Logical GLSL450 requires #spirv.vce { } // ----- spirv.module Logical GLSL450 requires #spirv.vce { } // ----- spirv.module Logical GLSL450 requires #spirv.vce { } // ----- spirv.module Logical GLSL450 requires #spirv.vce { }