fix incorrect marking of non-stale results by artifact cache lookup; fix view addr parameterizations when a register value is used

This commit is contained in:
Ryan Fleury committed 2026-06-09 11:24:54 -07:00
1 parent 0f02c32c89
commit 27e1e36f5c
3 files changed
+18 -10

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ ac_artifact_from_key_(Access *access, String8 key, AC_ArtifactParams *params, U6
if(!got_artifact && ins_atomic_u64_eval(&node->completion_count) != 0 && ((node->last_completed_gen == params->gen) || !(params->flags & AC_Flag_WaitForFresh) || out_of_time))
{
got_artifact = 1;
artifact_is_stale = (node->last_completed_gen == params->gen);
artifact_is_stale = (node->last_completed_gen != params->gen);
artifact = node->val;
access_touch(access, &node->access_pt, stripe->cv);
ins_atomic_u64_eval_assign(&node->last_touched_ac_request_gen, ins_atomic_u64_eval(&ac_shared->request_gen));