Skip to content

Commit 493c161

Browse files
authored
[SPIRV] Fix ExecutionMode_fragment.ll test (#144116)
Fix test broken by #143412.
1 parent c609112 commit 493c161

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/test/CodeGen/SPIRV/ExecutionMode_Fragment.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44
; CHECK-DAG: OpEntryPoint Fragment %[[#entry:]] "main" {{.*}}
55
; CHECK-DAG: OpExecutionMode %[[#entry]] OriginUpperLeft
66

7+
@.str.b0 = private unnamed_addr constant [3 x i8] c"B0\00", align 1
78

89
define void @main() #0 {
910
entry:
10-
%0 = tail call target("spirv.VulkanBuffer", [0 x i32], 12, 1) @llvm.spv.resource.handlefrombinding.tspirv.VulkanBuffer_a0i32_12_1t(i32 0, i32 1, i32 1, i32 0, i1 false)
11+
%0 = tail call target("spirv.VulkanBuffer", [0 x i32], 12, 1) @llvm.spv.resource.handlefrombinding.tspirv.VulkanBuffer_a0i32_12_1t(i32 0, i32 1, i32 1, i32 0, i1 false, ptr nonnull @.str.b0)
1112
%1 = tail call noundef align 4 dereferenceable(4) ptr addrspace(11) @llvm.spv.resource.getpointer.p11.tspirv.VulkanBuffer_a0i32_12_1t(target("spirv.VulkanBuffer", [0 x i32], 12, 1) %0, i32 0)
1213
store i32 1, ptr addrspace(11) %1, align 4
1314

1415
ret void
1516
}
1617

17-
declare target("spirv.VulkanBuffer", [0 x i32], 12, 1) @llvm.spv.resource.handlefrombinding.tspirv.VulkanBuffer_a0i32_12_1t(i32, i32, i32, i32, i1) #1
18-
1918
attributes #0 = { "hlsl.shader"="pixel" }
2019
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) }

0 commit comments

Comments
 (0)