clang/test/CodeGenHLSL/convergent-functions.hlsl
raw| 1 | // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.4-library -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s |
| 2 | // RUN: %clang_cc1 -triple spirv-linux-vulkan-library -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s |
| 3 | |
| 4 | void fn() { |
| 5 | }; |
| 6 | |
| 7 | // CHECK: define{{.*| }}void {{.*}}fn{{.*}}() |
| 8 | // CHECK-SAME: #[[Attr:[0-9]+]] |
| 9 | // CHECK: attributes #[[Attr]] = { {{[^}]*}}convergent{{[^}]*}} } |