Open PalumboN opened 6 months ago
Some work around the commented bug was done in https://github.com/Alamvic/druid/pull/132/files
But it needs more work, this primitive was not fixed.
Also check if we can rollback this dangerous change: https://github.com/Alamvic/druid/pull/132#discussion_r1551238633
I was going to compile this primitive, fixing many bugs in the meta-compiler and bah.... BUT I arrived at a problem that is better to see in another issue.
Now the primitive "works" (store the expected value in the expected object) but it is returning a trash value:
The problem is a phi function created during tail duplication:
DRBasicBlock >> mergeInstructionsWithDuplicatedBlock: duplicatedBlock withSuccessors: successors usingUsers: getUsersBlock
Null
values if any value dominates the phi (bad).exitBlock
, which has many predecessors.ReceiverResultReg
👎