From e9abd9466ba16a6006ac3487580fab9e909d0f64 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Fri, 9 Oct 2026 10:26:27 +0200 Subject: [PATCH] Update builtin_pointer_spec_constant test for signed indices #18 added this test against a base without #15, which sign-extends the index of a constant PtrAccessChain. Both merged, so main now emits (long)(ulong)0 and the CHECK line no longer matches. --- tests/cases/builtin_pointer_spec_constant.spt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cases/builtin_pointer_spec_constant.spt b/tests/cases/builtin_pointer_spec_constant.spt index 90e7250..70e6b03 100644 --- a/tests/cases/builtin_pointer_spec_constant.spt +++ b/tests/cases/builtin_pointer_spec_constant.spt @@ -28,4 +28,4 @@ OpFunctionEnd ; CHECK: ulong3 lid_storage = (ulong3)(get_local_id(0), get_local_id(1), get_local_id(2)); ; CHECK: * lid = &lid_storage; -; CHECK: lid + (ulong)0 +; CHECK: lid + (long)(ulong)0