[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / SPIRV / extensions / SPV_INTEL_arbitrary_precision_integers.ll
blobb68fb363ad85f8b40c1f51f9990a4c043dd0681a
1 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown --spirv-extensions=SPV_INTEL_arbitrary_precision_integers %s -o - | FileCheck %s
3 define i6 @getConstantI6() {
4   ret i6 2
7 define i13 @getConstantI13() {
8   ret i13 42
11 ;; Capabilities:
12 ; CHECK-DAG: OpExtension "SPV_INTEL_arbitrary_precision_integers"
13 ; CHECK-DAG: OpCapability ArbitraryPrecisionIntegersINTEL
15 ; CHECK-NOT: DAG-FENCE
17 ;; Names:
18 ; CHECK-DAG: OpName %[[#GET_I6:]] "getConstantI6"
19 ; CHECK-DAG: OpName %[[#GET_I13:]] "getConstantI13"
21 ; CHECK-NOT: DAG-FENCE
23 ;; Types and Constants:
24 ; CHECK-DAG: %[[#I6:]] = OpTypeInt 6 0
25 ; CHECK-DAG: %[[#I13:]] = OpTypeInt 13 0
26 ; CHECK-DAG: %[[#CST_I6:]] = OpConstant %[[#I6]] 2
27 ; CHECK-DAG: %[[#CST_I13:]] = OpConstant %[[#I13]] 42
29 ; CHECK: %[[#GET_I6]] = OpFunction %[[#I6]]
30 ; CHECK: OpReturnValue %[[#CST_I6]]
31 ; CHECK: OpFunctionEnd
33 ; CHECK: %[[#GET_I13]] = OpFunction %[[#I13]]
34 ; CHECK: OpReturnValue %[[#CST_I13]]
35 ; CHECK: OpFunctionEnd