Skip to content

Commit 94d4003

Browse files
committed
fix failing tests after rebase
1 parent 795d17e commit 94d4003

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-lib.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export float TestLoad() {
5353
return RWSB1.Load(1) + SB1.Load(2);
5454
}
5555

56-
// CHECK: define noundef float @_Z8TestLoadv()
56+
// CHECK: define noundef nofpclass(nan inf) float @_Z8TestLoadv()
5757
// CHECK: %[[PTR1:.*]] = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_0t(target("dx.RawBuffer", float, 1, 0) %{{[0-9]+}}, i32 %{{[0-9]+}})
5858
// CHECK: %[[VALUE1:.*]] = load float, ptr %[[PTR1]]
5959
// CHECK: %[[PTR2:.*]] = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_0_0t(target("dx.RawBuffer", float, 0, 0) %{{[0-9]+}}, i32 %{{[0-9]+}})

clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export float TestLoad() {
2828
return ROSB1.Load(10);
2929
}
3030

31-
// CHECK: define noundef float @_Z8TestLoadv()
31+
// CHECK: define noundef nofpclass(nan inf) float @_Z8TestLoadv()
3232
// CHECK: %[[PTR1:.*]] = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1) %{{[0-9]+}}, i32 %{{[0-9]+}})
3333
// CHECK: %[[VALUE1:.*]] = load float, ptr %[[PTR1]]
3434

0 commit comments

Comments
 (0)