Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGenHLSL / convergent-functions.hlsl
blobf7c8b642272b1e77d98d2feed6ba8e75ab2f4717
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
4 void fn() {
5 };
7 // CHECK: define{{.*| }}void {{.*}}fn{{.*}}()
8 // CHECK-SAME: #[[Attr:[0-9]+]]
9 // CHECK: attributes #[[Attr]] = { {{[^}]*}}convergent{{[^}]*}} }