Skip to content

Commit 7b1d605

Browse files
committed
fixup: two more tests
1 parent 74d2200 commit 7b1d605

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenHLSL/cbuffer_with_packoffset.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cbuffer CB : register(b1, space3) {
1616
int2 c : packoffset(c5.z);
1717
}
1818

19-
// CHECK: @CB.cb.1 = external constant target("dx.CBuffer", target("dx.Layout", %__cblayout_CB_1, 92, 88, 80))
19+
// CHECK: @CB.cb.1 = global target("dx.CBuffer", target("dx.Layout", %__cblayout_CB_1, 92, 88, 80))
2020
// CHECK: @x = external addrspace(2) global float, align 4
2121
// CHECK: @y = external addrspace(2) global <2 x float>, align 8
2222

clang/test/CodeGenHLSL/default_cbuffer_with_layout.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// CHECK-DAG: @b = external addrspace(2) global float, align 4
99
// CHECK-DAG: @d = external addrspace(2) global <4 x i32>, align 16
10-
// CHECK-DAG: @"$Globals.cb" = external constant target("dx.CBuffer",
10+
// CHECK-DAG: @"$Globals.cb" = global target("dx.CBuffer",
1111
// CHECK-DAG-SAME: target("dx.Layout", %"__cblayout_$Globals", 144, 120, 16, 32, 64, 128, 112))
1212
// CHECK-DAG: @a = external addrspace(2) global i32, align 4
1313
// CHECK-DAG: @c = external addrspace(2) global [4 x double], align 8

0 commit comments

Comments
 (0)