[clang] [HLSL] Codegen for `cbuffer` blocks without embedded arrays or structs (PR #119755)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 12 12:38:15 PST 2024
================
@@ -1,26 +0,0 @@
-// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
-// RUN: dxil-pc-shadermodel6.3-library %s \
-// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s
-
-// CHECK: @[[CB:.+]] = external constant { float, double }
-cbuffer A : register(b0, space2) {
- float a;
- double b;
-}
-
-// CHECK: @[[TB:.+]] = external constant { float, double }
-tbuffer A : register(t2, space1) {
----------------
hekota wrote:
Removing `tbuffer` codegen tests as it is not supported yet (although it will probably be very similar to `cbuffer`).
https://github.com/llvm/llvm-project/pull/119755
More information about the cfe-commits
mailing list