brintos

brintos / llvm-project-archived public Read only

0
0
Text · 627 B · 894de8b Raw
24 lines · plain
1// RUN: mlir-opt -convert-spirv-to-llvm %s | FileCheck %s2 3//===----------------------------------------------------------------------===//4// spirv.module5//===----------------------------------------------------------------------===//6 7// CHECK: module8spirv.module Logical GLSL450 {}9 10// CHECK: module @foo11spirv.module @foo Logical GLSL450 {}12 13// CHECK: module14spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], [SPV_KHR_16bit_storage]> {}15 16// CHECK: module17spirv.module Logical GLSL450 {18	// CHECK-LABEL: llvm.func @empty()19  spirv.func @empty() -> () "None" {20		// CHECK: llvm.return21    spirv.Return22  }23}24