[clang] [HLSL] Fix call convention mismatch for ctor/dtor (PR #118651)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 04:07:33 PST 2024


================
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -emit-llvm -O3 -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-DXIL
+// RUN: %clang_cc1 -triple spirv-vulkan-compute -x hlsl -emit-llvm -O3 -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-SPIRV
----------------
Keenuts wrote:

There is the `RWBuffer-constructor.hlsl` test that tests almost the same code, but without any optimization passes. Or do you mean another kind of test?

https://github.com/llvm/llvm-project/pull/118651


More information about the cfe-commits mailing list