Conversation
Greptile SummaryThis PR replaces an
Confidence Score: 3/5Not safe to merge as-is — the missing A P1 correctness bug exists: the object-count decrement ( src/aig/gia/gia.h — specifically the early-return block in Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["Gia_ManAppendAnd(p, iLit0, iLit1)"] --> B["Gia_ManAppendObj(p)\n• vHash.push(0) if hashing active\n• return pObjs[nObjs++]"]
B --> C{assertions pass?}
C -- No --> FAIL[abort]
C -- Yes --> D{"!fGiaSimple &&\nLit2Var(iLit0)==Lit2Var(iLit1)?"}
D -- Yes --> E["print WARNING\n--p->nObjs ⚠️ vHash NOT popped"]
E --> F{iLit0 == iLit1?}
F -- Yes --> G["return iLit0\n(x & x = x)"]
F -- No --> H["return 0\n(x & !x = false)"]
D -- No --> I["fill pObj fields\n(iDiff0/1, fCompl0/1)"]
I --> J["handle pFanData / fSweeper / fBuiltInSim"]
J --> K["return Gia_ObjToLit(p, pObj)"]
Reviews (1): Last reviewed commit: "ENG-1889" | Re-trigger Greptile |
No description provided.