From ed29b2994e99e0531488a0d46ff82348b62b070e Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Tue, 7 Nov 2017 10:09:16 -0800 Subject: Fix expected output for loop test now that barrier isn't an intrinsic The test case had previously been calling `GroupBarrierWithGroupSync` as if it was a special-cased instruction, but now it is just calling it as an ordinary (intrinsic) function. I haven't removed the now-useless instruction, but it would be a good cleanup to go through and eliminate all the instruction cases we aren't using in the near future. --- tests/ir/loop.slang.expected | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/ir/loop.slang.expected') diff --git a/tests/ir/loop.slang.expected b/tests/ir/loop.slang.expected index 212ce1913..d3057ca2c 100644 --- a/tests/ir/loop.slang.expected +++ b/tests/ir/loop.slang.expected @@ -5,6 +5,8 @@ ir_global_var @_SV01s : Ptr<@ThreadGroup vector[64]>; ir_global_var @_SV05input : Ptr>>; +ir_func @_S031GroupMemoryBarrierWithGroupSyncp0V : () -> void; + ir_global_var @_SV06output : Ptr>>; ir_func @_S04mainp3uuuV : (uint, uint, uint) -> void @@ -37,7 +39,7 @@ block %15: loopTest(%20, %21, %16) block %21: - GroupMemoryBarrierWithGroupSync() + call(@_S031GroupMemoryBarrierWithGroupSyncp0V) let %22 : uint = load(%6) let %23 : Ptr> = getElementPtr(@_SV01s, %22) let %24 : Ptr> = var() @@ -68,7 +70,7 @@ block %17: unconditionalBranch(%15) block %16: - GroupMemoryBarrierWithGroupSync() + call(@_S031GroupMemoryBarrierWithGroupSyncp0V) let %40 : RWStructuredBuffer> = load(@_SV06output) let %41 : uint = load(%5) let %42 : Ptr> = getElementPtr(@_SV01s, 0) -- cgit v1.2.3