1 // RUN: %clang_cc1 -S -triple dxil-pc-shadermodel6.3-library -S -emit-llvm -xhlsl -validator-version 1.1 -o - %s | FileCheck %s
3 // FIXME:The following line should work once SPIR-V support for HLSL is added.
4 // See: https://github.com/llvm/llvm-project/issues/57877
5 // DISABLED: %clang_cc1 -S -triple spirv32 -S -emit-llvm -xhlsl -validator-version 1.1 -o - %s | FileCheck %s --check-prefix=NOT_DXIL
7 // CHECK:!dx.valver = !{![[valver:[0-9]+]]}
8 // CHECK:![[valver]] = !{i32 1, i32 1}
10 // NOT_DXIL-NOT:!dx.valver
12 float bar(float a, float b);
14 float foo(float a, float b) {