1 ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
3 ;; Ensure the required Capabilities are listed.
4 ; CHECK-DAG: OpCapability Shader
5 ; CHECK-DAG: OpCapability Linkage
7 ;; Ensure one, and only one, OpMemoryModel is defined.
8 ; CHECK: OpMemoryModel Logical GLSL450
9 ; CHECK-NOT: OpMemoryModel