Lei Zhang 6caa4f500b [spirv] NFC: clean up (de)serialization tests
This CL uses the newly added -split-input-file CLI option to
mlir-translate to combine certain (de)serialization tests.
It also renames certain test filenames.

PiperOrigin-RevId: 270816324
2019-09-23 19:57:17 -07:00

11 lines
284 B
MLIR

// RUN: mlir-translate -test-spirv-roundtrip %s | FileCheck %s
spv.module "Logical" "GLSL450" {
func @foo() -> () {
spv.Return
}
spv.EntryPoint "GLCompute" @foo
// CHECK: spv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
spv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
}