Skip to content

Commit d068772

Browse files
committed
update tests after rebase
1 parent 5136886 commit d068772

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

llvm/test/CodeGen/DirectX/BufferLoad.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ define void @loadf64() {
202202
; CHECK: [[B1:%.*]] = call %dx.types.Handle @dx.op.createHandleFromBinding(i32 217, %dx.types.ResBind { i32 1, i32 1, i32 0, i8 1 }, i32 1, i1 false) #0
203203
%buffer = call target("dx.TypedBuffer", double, 1, 0, 0)
204204
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
205-
i32 0, i32 1, i32 1, i32 0, i1 false)
205+
i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
206206

207207
; CHECK: [[BA:%.*]] = call %dx.types.Handle @dx.op.annotateHandle(i32 216, %dx.types.Handle [[B1]], %dx.types.ResourceProperties { i32 4106, i32 266 }) #0
208208
%load = call { <2 x i32>, i1 } @llvm.dx.resource.load.typedbuffer(
@@ -218,7 +218,7 @@ define void @loadv2f64() {
218218
; CHECK: [[B1:%.*]] = call %dx.types.Handle @dx.op.createHandleFromBinding(i32 217, %dx.types.ResBind { i32 1, i32 1, i32 0, i8 1 }, i32 1, i1 false) #0
219219
%buffer = call target("dx.TypedBuffer", <2 x double>, 1, 0, 0)
220220
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_v2f64_1_0_0t(
221-
i32 0, i32 1, i32 1, i32 0, i1 false)
221+
i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
222222

223223
; CHECK: [[BA:%.*]] = call %dx.types.Handle @dx.op.annotateHandle(i32 216, %dx.types.Handle [[B1]], %dx.types.ResourceProperties { i32 4106, i32 522 }) #0
224224
%load = call { <4 x i32>, i1 } @llvm.dx.resource.load.typedbuffer(

llvm/test/CodeGen/DirectX/BufferLoadDouble.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ define void @loadf64() {
66
; check the handle from binding is unchanged
77
; CHECK: [[B:%.*]] = call target("dx.TypedBuffer", double, 1, 0, 0)
88
; CHECK-SAME: @llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
9-
; CHECK-SAME: i32 0, i32 1, i32 1, i32 0, i1 false)
9+
; CHECK-SAME: i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
1010
%buffer = call target("dx.TypedBuffer", double, 1, 0, 0)
1111
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
12-
i32 0, i32 1, i32 1, i32 0, i1 false)
12+
i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
1313

1414
; check we load an <2 x i32> instead of a double
1515
; CHECK-NOT: call {double, i1} @llvm.dx.resource.load.typedbuffer
@@ -33,10 +33,10 @@ define void @loadv2f64() {
3333
; check the handle from binding is unchanged
3434
; CHECK: [[B:%.*]] = call target("dx.TypedBuffer", <2 x double>, 1, 0, 0)
3535
; CHECK-SAME: @llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_v2f64_1_0_0t(
36-
; CHECK-SAME: i32 0, i32 1, i32 1, i32 0, i1 false)
36+
; CHECK-SAME: i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
3737
%buffer = call target("dx.TypedBuffer", <2 x double>, 1, 0, 0)
3838
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_v2f64_1_0_0t(
39-
i32 0, i32 1, i32 1, i32 0, i1 false)
39+
i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
4040

4141
; check we load an <4 x i32> instead of a double2
4242
; CHECK: [[L0:%.*]] = call { <4 x i32>, i1 }
@@ -65,10 +65,10 @@ define void @loadf64WithCheckBit() {
6565
; check the handle from binding is unchanged
6666
; CHECK: [[B:%.*]] = call target("dx.TypedBuffer", double, 1, 0, 0)
6767
; CHECK-SAME: @llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
68-
; CHECK-SAME: i32 0, i32 1, i32 1, i32 0, i1 false)
68+
; CHECK-SAME: i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
6969
%buffer = call target("dx.TypedBuffer", double, 1, 0, 0)
7070
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
71-
i32 0, i32 1, i32 1, i32 0, i1 false)
71+
i32 0, i32 1, i32 1, i32 0, i1 false, ptr null)
7272

7373
; check we load an <2 x i32> instead of a double
7474
; CHECK-NOT: call {double, i1} @llvm.dx.resource.load.typedbuffer

llvm/test/CodeGen/DirectX/BufferStore.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ define void @storef64(<2 x i32> %0) {
168168

169169
%buffer = tail call target("dx.TypedBuffer", double, 1, 0, 0)
170170
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
171-
i32 0, i32 0, i32 1, i32 0, i1 false)
171+
i32 0, i32 0, i32 1, i32 0, i1 false, ptr null)
172172

173173
; The temporary casts should all have been cleaned up
174174
; CHECK-NOT: %dx.resource.casthandle
@@ -187,7 +187,7 @@ define void @storev2f64(<4 x i32> %0) {
187187

188188
%buffer = tail call target("dx.TypedBuffer", <2 x double>, 1, 0, 0)
189189
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_v2f64_1_0_0t(
190-
i32 0, i32 0, i32 1, i32 0, i1 false)
190+
i32 0, i32 0, i32 1, i32 0, i1 false, ptr null)
191191

192192
; The temporary casts should all have been cleaned up
193193
; CHECK-NOT: %dx.resource.casthandle

llvm/test/CodeGen/DirectX/BufferStoreDouble.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ target triple = "dxil-pc-shadermodel6.6-compute"
55
define void @storef64(double %0) {
66
; CHECK: [[B:%.*]] = tail call target("dx.TypedBuffer", double, 1, 0, 0)
77
; CHECK-SAME: @llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
8-
; CHECK-SAME: i32 0, i32 0, i32 1, i32 0, i1 false)
8+
; CHECK-SAME: i32 0, i32 0, i32 1, i32 0, i1 false, ptr null)
99
%buffer = tail call target("dx.TypedBuffer", double, 1, 0, 0)
1010
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_f64_1_0_0t(
11-
i32 0, i32 0, i32 1, i32 0, i1 false)
11+
i32 0, i32 0, i32 1, i32 0, i1 false, ptr null)
1212

1313
; check we split the double and store the lo and hi bits
1414
; CHECK: [[SD:%.*]] = call { i32, i32 } @llvm.dx.splitdouble.i32(double %0)
@@ -28,10 +28,10 @@ define void @storef64(double %0) {
2828
define void @storev2f64(<2 x double> %0) {
2929
; CHECK: [[B:%.*]] = tail call target("dx.TypedBuffer", <2 x double>, 1, 0, 0)
3030
; CHECK-SAME: @llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_v2f64_1_0_0t(
31-
; CHECK-SAME: i32 0, i32 0, i32 1, i32 0, i1 false)
31+
; CHECK-SAME: i32 0, i32 0, i32 1, i32 0, i1 false, ptr null)
3232
%buffer = tail call target("dx.TypedBuffer", <2 x double>, 1, 0, 0)
3333
@llvm.dx.resource.handlefrombinding.tdx.TypedBuffer_v2f64_1_0_0t(
34-
i32 0, i32 0, i32 1, i32 0, i1 false)
34+
i32 0, i32 0, i32 1, i32 0, i1 false, ptr null)
3535

3636
; CHECK: [[SD:%.*]] = call { <2 x i32>, <2 x i32> }
3737
; CHECK-SAME: @llvm.dx.splitdouble.v2i32(<2 x double> %0)

0 commit comments

Comments
 (0)